iframe

IE IFrame - stale references

I have 2 iframes on a page, a navigation and a detail. The navigation iframe has paging/searching/etc.. functionality that can cause the detail to refresh with new url parameters. After the detail iframe loads, the navigation iframe needs to perform some dom manipulations on elements it already had in memory. For example: jQuery(searc...

Using IFrames in Flex 4

We presently have one big swf in flex 4. I would like to embed an IFrame in it. I've found some info on doing it in flex 3 but am hoping for some direction on where to start for flex 4. Any links would be very helpful. Thanks EDIT: I found this one http://code.google.com/p/flex-iframe/ Which I'll be checking out but I am very open to su...

jQuery/javascript - Center a div within an iframe view area. scrollTop not accurate with iframe height adjusted

ok normally this would be easy but for visual reasons I force my iframe to be the same height as the content it contains. What this does is gives me only one scroll bar, the scroll bar on the parent window. The iframe document never scrolls. The problem comes when i try to center a div within the iframe. When the page is scrolled a c...

Manipulate iFrame content in Adobe AIr

Is it possible in Adobe Air to manipulate a website loaded into an iFrame? Like say I want to automate filling out a repetitive form that I need to fill out on a regular basis with data that I have stored into a database. I want it to fill out the fields that I know the selectors of and make it click the submit button. Possible? If n...

$_GET shows up blank when called from a php file within iframe

Hi. I have a a login in script that is a little to complicated for my own good. I have a php file that calls a javascript based on the $_GET variable. The javascript/jquery makes html that uses iframe to call another php file, but I need the $_GET variable in that php code or I need to pass the $_GET variables to the other php file withi...

Refreshing an iFrame in a Web Browser Control

C# Visual Studio 2010 I have a complex webpage that contains several iframes that I am loading into a web browser control. I'm trying to figure out a way to refresh one of the iframes when a user clicks a button on the windows form. I can't find anything specific to refreshing a single iframe. Any ideas? ...

problem to display dynamically a javascript google ad in an iframe using jquery

We try to display the google ad in an iframe that we add dynamically. In an iframe, the field "src" is generally an url, but we want to use the data:text/html format to be able to use directly our ad code. It works for simple JavaScript code like a document.write('hello world')<\script>, but not with the google ad code. We simulate this ...

Iframe's overflow problem

I have a simple page that contains an iframe. The iframe contains a page with some divs. When I open the embedded page separetely it works very well. The div that should be overflowed is overflowed. But when I open the container site it is not. Here are my codes: Container page: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional...

imitate iframe coming from another domain

Hi all, I am trying to develop a small web application which will consist of one web applicaiton using an iframe from another domain. I am trying to test this on my local machine, and for this I need to imitate as if the iframe is coming from another domain (while it's actually on the same domin as the other web application - my compute...

jQuery, ajax, display page inside of other page (like iframe)

I need to display a page inside of a page, like an iframe, but using jquery. The pages are not on the same server. The main page is a html page inside of a cms and the page that needs to be nested is a media page with lists of images or audio files, that is located on another server. The heights will vary on the media pages, so I kinda ...

iFrame properties don't get updated through JS DOM

Hi, Another noob question, this one is quite a mystery to me. I'm trying to inject a JS code, and making use of iFrame for this. Test url -> http://ultimateclassicmovies.com/horror/the-brain-that-wouldnt-die/ Here I initially created a hidden iFrame and then i'm injecting into it a new JS code: document.getElementById('movie_loader...

jQuery FancyBox Iframe - Using $(document).ready within the fancybox?

I'm using Fancybox to load a form as an Iframe, but for some reason my $(document).ready(function () isn't working for some reason. Any idea why? ...

How can I embed an html page into a jsp whilst avoiding repeated logins yet hosting the html separately to the web app?

I have a tomcat hosted web-app, in one of the jsp pages the webapp displays I am using an iframe to embed an html document. I need to have the html pages separate to the web-app so that they can be altered without requiring a relaunch of the original web-app or access by editors to the web-app. It is also essential that html pages are ...

AJAX v/s IFrame

Hi all, I am loading a pure HTML code from a AJAX get request and appends it into a div using JQuery. In IE this process is quite slow. I used several method to speed this up but it does not have a major impact on IE. So alternative is to load this content via IFrame. Iframe is rendered by browser and hence can be faster as compared t...

How to copy HTML content from a Java application to an IFRAME in FireFox?

The basic setup for what I want to do is an JEditorPane with text/html content(in Java) and an editable IFRAME running in FireFox. Copying the HTML content form Java to other applications (including WebKit-Browsers btw) works, as does pasting HTML content from other applications into the IFRAME in FireFox - the only thing hat doesn't wor...

Insert javascript file inside iframe

I'm trying to do the following: <iframe width="300"> <script type="text/javascript" src="file.js" charset="utf-8"></script> </iframe> But this constructions seems not working. What is the legitimate way to insert javascript file inside iframe using HTML and not calling javascript functions? Is it even possible? ...

IFRAME change source

Is it possible to change the source of an iframe when a link is clicked in the iFrame? For example, my iFrame loads http://www.google.com, but when I click a link on Google.com, the source of the iFrame cannot be changed to that new URL. Is there some way to access the iFrame location in Firefox and IE to redirect the iFrame? Sort of ...

How to change focus out of iframe?

Got some code which loads an input box, and then below this is an iframe with a textarea... Problem is I want the focus to be on the input box when the page loads, but it always jumps to the textarea because the iframe loads second... How do I keep focus on the first element in the page? ...

how to set all links in iframe to "google.com" by javascript or jQuery ?

how to set all links in iframe to "google.com" by javascript or jQuery ? ...

How to load XML (with xslt) generated by javascript into an IFRAME?

I'm generating some simple XML via javascript, and then using doc.open, doc.write, and doc.close to write the xml into an iframe. My problem is that in the iframe, it is not being rendered properly. It's as if the xslt renderer is not kicking into gear and it tries to render as html(just showing the text node values). The xml itself is...