iframe

Cross-Platform Browser Communication Between Page and IFRAME (Same Domain)

For a specialized purpose with Aweber regarding a newsletter subscription, I have a page loading a nested IFRAME inside, and both reside on the same domain. (Many other stackoverflow posts talk about different domains, but this question deals only with the same domain.) I need a cross-platform way (including browsers as old as the dawn o...

cross domain access in iframe from parent to child

Hi, Could someone please help me with this- I've 2 applications AAA and BBB. The homepage of AAA contains an iFrame which displays the application BBB. When I login to AAA, the same login details should be used to login to BBB(single signon) and on pageload of the homepage of AAA, homepage of BBB should also be loaded in the iFrame. I t...

Updating a JSP with messages received in Java (writing a messenger client)

Hi all, this is my first question here - hope I'll get started on a positive note. Refrasing (since I am still stuck): I am writing a IM client via the XMPP protocol to connect to a Openfire server. For this I am using the Smack API. There are two ways of checking if new messages have been received: registering a listener with the XMP...

How to give control back to iframe window after it opens a popup

Hello Experts, I have a question on javascript window management. My application opens an iframe which displays a link. Clicking on the link, opens a popup window, in which I enter my login credentials. My intention is to close the popup window after the login credentials are entered. And this I have been able to achieve using a JS ...

Put HTML string in IFRAME in C# codebehind?

In a C# codebehind, i am calling a web service that returns an HTML blob that i need to stick in an IFRAME. I suppose that i can write it to a temporary file and point the IFRAME src to that, but is there a way to either (a) write the string to the IFRAME directly, (b) point the IFRAME src to the string somehow (maybe with streams), or (...

onbeforeunload dilemma: iframe breaking vs. annoying message on refresh/back buttons click

I'm implementing a search service called SearchInsideOut. http://bit.ly/97SFyW This search service simply replaces web page results by full web pages (Yes, I used iframe). The problem I have to deal with is iframe-breaking pages. The promising solution I found is using onbeforeunload to let users decide whether to stay or leave my site....

How to get back button to work with anchors (#) and iframes

Hi, I am working on a site where the main part of it is driven by an ajax style navigation system using anchors in the url to define the application state. On top of this I now need to support IFrames that are loaded on top of this application. The problem I'm having is that the back button breaks if I make use of fragments. I've creat...

dynamic iframe in ui.dialog

I'm trying to dynamically create an iframe in my dialog and I have it working but not really because I only works sometimes here is the code function test(obj){ if($('#wa').length === 0){ // check if we have already created iframe and dialog $('body').append('<div id="wa"></div>'); //add a div for the the iframe to go into ...

iFrame src change event detection?

Assuming I have no control over the content in the iframe, is there any way that I can detect a src change in it via the parent page? Some sort of onload maybe? My last resort is to do a 1 second interval test if the iframe src is the same as it was before, but doing this hacky solution would suck. I'm using the jQuery library if it he...

Javascript permission denied - different port

Hi, I have a rails app running on port 3000. The page in question has an iframe and I need to resize it depending on the height of the content loaded in the iframe. <iframe id="ifrm_col3" name="ifrm_col3" frameborder="0" src="<%=invite_path(@invite.alias)%>" onload="util.resize_iframe('ifrm_col3');"></iframe> The resize function ...

iframe contents change event ?

How can I detect when the iframe content has changed and do something upon that change pseudo code below $('#waframe').contents().change(function(){ //do stuff }); ...

Embedding Facebook in an IFrame

I have an app that has an IFrame with a page flash overly allowing you to draw on webpages. When I go to Facebook with the application, an overlay pops up covering everything at 50% opacity (Which is fine). The problem is that the overlay is all black in some installations of IE7. Can anyone advise on how to get around this? Here is my ...

Creating a search module displaying results in an iframe?

I recently signed up for a travel affiliate program and I'm creating a module with search fields to search in the affiliate program. What I need is a component with <iframe></iframe>, so when I make a search, the search results to shows in the <iframe></iframe> in the component. In this way I can chose which other module to show or not w...

Iframe contents not accessible from a page in different domain

Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded inside IFrame. I am able to get the event notification whenever Google Finance page loads. Now problem is this that contents of this page is not accessible through javascript. It seems to be some security issue (firebug noti...

"Alert" and "if" changes behaviour of dom copying from iframe to div

Hi guys! Tried to make a little old school ajax (iframe-javascript) script. A bit of mootools is used for DOM navigation Description: HTML: 1 iframe called "buffer" 1 div called "display" JAVASCRIPT: (short: copy iframe content into a div on the page) 1) onLoad on iframe triggers handler(), a counter makes sure it only run once (th...

Getting iframe content with $() (update: In mootools)?

how do i minify this in mootools. window.frames['buffer'].document.body.innerHTML in mootools, this does not work: $('buffer').$('body').get('html'); OR $('buffer').get('html') ...

How to Block images (img tags) from an iFrame?

Hello, Im searching for ideas to solve the following problem: I'm loading an URL (any for that matter) into an iFrame, and then block (server side) all image tags, o object tags before sending the page to the client. -- What I was thinking to do is: fetching the URL, and then manipulating the fetched content using a Java library (any r...

Display cross domain content in IFrame (IE8)

I realized that IE8 does not allow links from cross domains to be displayed in IFrame. It seems like there are only two Header options that Microsoft allows to modify. X-FRAME-OPTIONS : "DENY" (This does not display any IFrame content ) X-FRAME-OPTIONS : "SAMEORIGIN" (Displays content from the same domain) Is there a work around t...

iframe creating display problem in ie

I have just created my first website and am having a problem since adding an iframe to the front page. My home page used to be centered but now it aligns on the left in IE. It displays fine in Firefox, Safari, Opera etc http://www.bignoisechorus.co.uk/home Any ideas? ...

Open window from iframe

Hey there, This is the situation. I'm trying to provide a service where someone embedds an iframe on their website with a form in it. At the end when an ajax request comes in again I want to pop a new window with a thank you note in it. window.open does not work and my guess is because the window object belongs to the page that embedds ...