external

Embed JS that passes a variable to PHP to request more JS code

Hello all, I am trying to make use of Google's API as a way to get the location of the user. Once I have done this, I pass this to an external PHP script which will further output some JavaScript code. However, I am having trouble calling the PHP script: <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAKw7Q"&gt;...

how do i use php to read an external file and put insides into variables?

I had no idea to correctly form the title of this question, because I don't even know if what I'm trying to do has a name. Let's say I've got an external file (called, for instance, settings.txt) with the following in it: template:'xaddict'; editor:'true'; wysiwyg:'false'; These are simple name:value pairs. I would like to have php ...

External django redirect with POST parameters

I'm trying to create a redirect in a Django view to an external url with some get parameters attached to the request. After doing some looking around and some trying around, it seems I have hit a road block. So my view looks something like this def view(request): data = get.data(request) if something in data: return Htt...

Accessing javascript variable from HTML page in same domain?

I am attempting to enhance a internal web application we use. I am using a custom favelet to autopopulate certain fields. The javascript variables I need to populate a form exist on a different HTML page internally. Is it possible to access vars from another html page? They would be embedded in the external pages document element. I do ...

javascript dynamically add frame to frameset

The following favelet in IE is causing something similar to a document.write which is displaying [object]? I am attempting to dynamically add a frame to get javascript variables from another page to autopopulate a form. I cannot edit the source this must execute from a favorite or bookmark. javascript: var newFrame = document.createEl...

Load external Javascript on function call

Hi all, I would like to know how to load an external Javascript into my document from a function. Thanks in advance all! ...

Loading Hibernate property from an external source (HashMap)

I have a Message object associated with a User object (user_from and user_to). I persist the Message instances into a database using Hibernate (with JPA annotations) and the user_id is persisted. The User object is also stored to the database, but when fetching messages I would like the User to be fetched from a Map in memory instead of...

Java - passing input into external C/C++ application

I'm trying to enter some value in external application using Java. Java application looks like this: Runtime runtime = Runtime.getRuntime(); // ... str build ... proc = runtime.exec(str); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(proc.getOutputStream())); bw.write(value); bw.flush(); bw.close(); if (proc.waitFor() ...

My Header over External Content

I can see this web site is somewhat over my head, but I'm having trouble finding an answer. I want to put my header, with links to other pages, over external content. Here's why: My MLM gives me a replicated web site that they maintain. I want to add links to my blog, contact info, even meta tags to the site. I though I had it done by ...

CMS system won't allow SWF banner to load external swf??

Hi, I just started a job working in-house e-commerce, and their current CMS system won't allow my flash banner to load an external swf. It works on its own but just not placed or uploaded in their cms system. What does the tech team have to do to code that in? Is it an easy process? tks any help is much appreciated ...

External SWF to External SWF Timeline Communication, Flash, AS2

Flash CS4, AS2 I have made an interactive tour. It can be seen here: http://www.92YTribeca.org/Tour click on the bottom image Each of the 4 sections are external swf and loaded on level 1. I want a button on one swf (floorplan) to load another swf (facility rentals) AND pinpoint a specific frame on the swf's timeline. I have tried m...

Recommended Practise to Externalize Queries in J2EE (Specific Seam)

For the statistics part of an application there are several queries that often change and are also rather long. Both IMHO arguments to remove the queries from the source code and put them somewhere where they can be easily edited in an eye friendly format and also copy / pasted from and to a QL editor. This disqualifies named-queries fro...

Store external resources in DB??

I have database items that have 2 external resources: A.) images and B.) HTML files. Should these be stored as columns in the DB, or should the DB just hold pointers to the filesystem? What are the pros and cons of each approach? HTML files are about 200k per item, and Images are about 200k per item (5 - 10 pics or so max) Thanks. ...

TextMate - completion using an external file or file contained in project?

Does anyone know how to get TextMate to search an external file (or even the files contained in a TextMate "project") with which to perform word completion? I'm coding some stuff on the C64 (using TextMate to write the code) and I have an external file containing labels for all of the hardware registers/kernal routines e.g VIC2Interupt...

.htaccess Redirect to External Site and Forward POST data while Changing address bar?

Hey, I want to use .htaccess to redirect the requested page to the exact same page on a different domain, and I want it to forward all POST data while CHANGING the address bar to the new domain, like a normal redirect. Here's my code. Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.domain1.com/$1 [R=301,L] The pr...

How to externalize a Spring MessageSources bundle outside the WAR

Hi, I have to externalize the Spring MessageSources bundle for i18n support (properties files) outside the classpath in order to modify properties more easily. How can I do that ? <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basename" value="test-messages"/> Tha...

SWF file displayed but xml data not loading into the swf embedded in aspx page

the flash map calls the xml external file which contains data the map shows in firefox and works a treat but wont show any of the xml data Help ...

Use Ajax() function in Jquery to load PART of an external page into div

I'm trying to load a DIV element from an external page into my current page using the Ajax/jQuery.ajax function. While I have successfully been able to load an entire external page, I can't seem to load just the DIV element. Here's my code: $("a").click(function() { /* grabs URL from HREF attribute then adds an */ /* ID from the ...

AS3 Instantiate Class From External SWF

Hi, I was chatting with my buddy about this, he is convinced you can do this and says he has done it, but I cannot get this to work. I am wondering if it is even possible at all. I tried typing a var as a Class that is within the externally downloaded SWF and then making an instance but no can do. some code private static function on...

Content replacement from external website

So I am pretty new to jQuery and Javascript in Gen. I like the simple load() functionality that JQuery uses. My question: Is it possible to load content from an external website using the load() function? $(#placeholder).load("http://wwww.facebook.com/someuser"); tring to sync content on a specific facebook page that will be loaded i...