iframe

Reset iframe after page refresh

I have a page that loads in content via iframe. Within that content is a link that goes to another page, but loads in content to the page the same way. When I refresh the page, the content from the second iframe is still loaded in. Is there anyway to reset it to the first iframe on a page refresh, without having to Shift+Refresh? ...

Open MilkBox outside of an iframe

I have a page with content loaded in via iframe, and the pictures within the content area open up in MilkBox, similar to LightBox. Here's the URL so you can check it out: http://interplay2010.com/ Under the Media section, the pictures open up within the iframe. I would like the pictures to open up outside the iframe, but I have no idea...

submit form of parent with data of iframe

i have main file which contains iframe element. in main file there is one form. iframe element is in that form. iframe's source file contains input elements. now i want those input elements of iframe on form submit of main file. ...

Would iframes improve performance of sites with very large numbers of dom elements?

For sites with very large numbers of DOM elements, is there be any performance benefit to presenting some of the content within an iframe? For example, the application I'm working on has a very large html-based tree which could contain tens of thousands of nodes at one time (albeit not loaded all at once). Putting aside the usability p...

Why do people still use iframes?

For me iframes are pure evil (well, maybe not so pure). They seems to make a lot of troubles. Yes, your whole site will load once and then you can just load a single pages. But people invented AJAX for this purpose. One of the biggest issues I found with iframe was that I couldn't paste a link to one of the subpages, because the URL nev...

How to create an .swf file that will simply load a webpage in an iFrame once opened?

Hello, I am very new to flash and actionscript. I simply would like to know is it possible and then what is the code needed to create a simple .swf file that once double-clicked on opens and all it has inside it's window is an iframed website (scrolling and resizing are optional), basically a simple flash mini-browser if you will, with n...

Iframe – let the user pick the src - any security issues?

I want to allow the logged in users to view any 3rd party content via an IFrame. Something like allowing Gmail users to view any Web Calendar they want inside an IFrame. Is allowing the users to set the IFrame Src Url a security problem? What security issues will I face? Any other need to know Tips for using IFrames will be welcome. ...

How to simulate Chrome/Safari border around active input or textarea on other elements such as divs or iframes?

I was using simple textarea element and then replaced it with iframe with designMode='on' to give user the possibility to mark some text and make it italic. But I still want an iframe to look like textarea, so I need a border around it similar to that which appears in Chrome and Safari when textarea is active. How can I achieve such an e...

using postmessage to refresh iframe's parent document

I have a greasemonkey script that opens an iframe containing a form from a different sub-domain as the parent page. I would like to refresh the parent page when the iframe refreshes after the form submission I am at the point where I can execute a function when the iframe refreshes, but I cannot get that function to affect the parent d...

Loading external sites into Iframe dynamically - is there a better way??

I've build an application which currently uses an Iframe to load external sites. This method is really slowing my application down - taking up to 5 seconds to load a page that might load in <1sec in it's own tab/window. Is there any solution I can implement which will let get more speed?!? Thanks! EDIT: Here's the code I'm currently...

Can't get value of designMode IFRAME

I can't retrieve the contents of an iframe, when designmode = 'on'. Here is my code: val = $("#frame").val(); I've tried everything, and nothing works, help? ...

Google maps API embedded in iFrame not centering on lat/long

I have used the Google Maps API to create a simple HTML page which I'm then embedding into an iFrame on another page. Page works fine when outside of the iFrame however when within the iFrame, the window position doesn't scroll to center on the marker. An example is here: http://webfe.omega.studiocoast.com.au/epping-club.aspx and click...

Sending data through post method to an iframe

I have an iframe which is pointing to a moodle site. I need to pass to it my username and password, so that when the iframe is loaded, I am automatically logged in on moodle. So I have something like this: <div id="iframe" style="width:787px; height:700px;"> <iframe id="iframeCon" src ="http://www.somesite.net/moodle/login/index.php" wi...

Auto-resize IFrame

Hi All, I really need someone's help on this> I have a little image inside an IFrame that upon being clicked on, will display another image and slide down a little. How can I make the IFrame automatically get bigger or smaller, according to its contents? Thank you so much! *edit After researching this more, I have found quite a few ex...

trouble invoking a Jquery dialog box on a 'parent' page.

I am having a trouble invoking a Jquery dialog box on a 'parent' page. I'm calling the dialog 'open' from a dynamically loaded page within an iFrame on the 'parent' page. The showDialog button is on that dynamic IFrame form. I'm using #divId as the placeholder div, and #modalIframeId1 is where the dynamic form gets loaded via src='Add...

Firing events between an iframe and it's parent using YUI

I have an iFrame that is firing an event that I want the parent page to pick up. Essentially the inverse of this question. I can pick up the event inside the iFrame, so I know it's firing, but nothing happens in the parent. I'm using YUI 3 so any answers based around this get a double-thumbs up, but all help is greatfully received. Tha...

Close of Jquery Dialog not working for second time on click event of button which is in dynamic iframe dialog.

$('.Editcoupon').click(function() { var strRef = ''; var strid = ''; var strSelectedval = ''; strRef = $(this).attr('ref'); strid = $(this).attr('id'); strqueryvalue = $(this).attr('ref').match(/Defaultcoupon=([0-9]+)/)[1]; $("#Coupondialog-modal" + stri...

Call javascript method defined in parent from iframe

After some research (even at stackoverflow) I still can't figure out how to do this. parent.method() won't do the trick, nor some other solutions I've tried. Situation: I have a index.html on the client side (mobile phone in this case) which has an iframe loading server-side page. What I need to do is call a javascript method defined i...

iframe across domain get value

How can I get the some value from other domain page? for example two page from different domain test.html: code: <!DOCTYPE html> <html> <head> </head> <body> <div> <span id="data"></span> <iframe name="dd" src="http://otherdomain.com/innerpage.html" style="width:600px;height:500px;"></iframe> </div> </body> </html> innerpage.htm...

Can you submit a Post request over https to an iframe, from a form that is in http?

I've got a pretty form that loads on any page on the site to prompt a user to login. However this can be from any http page. The login form processing script however is in https, or at least it should be so that the information is secure. Can I submit the login request via POST if i specify in the action that it should be sent over htt...