iframe

Replace page content before file loads?

Hi! I wanted to know, is there any sory of scripting that I can use so that I can simply change one little thing and then the content will change for multiple pages? Maybe PHP or the htaccess file. What I want to do is make an "Under Construction" page for my website, that I can periodically turn on or off. Right now, the method I am us...

What is the way to access IFrame's element using Prototype $ method

Using prototype js library I can access elements by using $(elementID). I can access the element in an Iframe by $('iframeID').contentWindow.document.getElementById('ID of element inside Iframe'). I would like to use the same dollar method for my Iframe to access elements in Iframe. Is there any way? ...

jQuery AJAX Fileupload crossbrowser support

I'm currently working on an AJAX file upload script, which works like a charm in Firefox but doesn't work in IE. this is the basic HTML I'm using: <form > <input type="file" name="FileFields" id="FileFields"/> <button type="button" onclick="uploadFile();" id="uploadButton">Upload</button> <ul id="files"/> ... other form...

Removing a frameset makes a very large page

I've been tasked with removing a frameset from a website (the site now needs to be indexable by various things, so the frameset must go) The frameset is made up of a left hand explorer like tree (which could have thousands of nodes). The right hand is where the main content appears. (I'll leave this question as not language specific a...

Copy html content from iframe into div ( ajax ) ?

Hello Friends, Lets assume I have my browser load an Iframe with <iframe src="test.html"> Can I, using ajax, load the content of test.html into a div in the main html page? This idea is my solution for that fact that I'm actually trying to overcome the limitation with making ajax submits to remote hosts. The plan is to generate the dy...

is there a way to load an iframe asynchronously

i have a webpage with an iframe pointing to another website. I dont want this to block the loading of the rest of the page. is there a way to load it asyncrounously? ...

Can I make a Flash/Flex Drop Down Extend outside the flash object boundaries?

We are developing our app in flash/flex builder for the front end hitting .NET backend webservices. There is one section of the old app that will not be initially converted, so we need have it appear in an iFrame. So far all that works fine. We shrink the size of the SWF in the host page to just be the menu/nav area. And underneat th...

Calling an I Frame

I created an index page with an i frame, calling srs files. The problem is that the src files are listed in Google etc. Clicking from Google on these "src" files does not load the index file, displaying the basic src file. Is there a way to overcome this? ...

Setting cookie in iframe - different Domain

Hello, we have our site integrated as an iframe into another site that runs on a different domain. It seems that we cannot set cookies. Has anybody encountered this issue before? Any ideas? Thanks Holger ...

Security implications of allowing framing?

I notice that when I try to access Stackoverflow through the reddit toolbar, I get a popup that says "For security reasons, framing is not allowed". See here for an example. What exactly are those security reasons? I realize that this might be a question for meta, but it is really more of a general web security question, so I'm givi...

Inject an @ variable into src of an IFRAME

I have a dynamic url that I'm building in my controller to serve as the src of the IFRAME. I'm currently saving the url as @iframe_url. When I go to the IFRAME on the view I'm doing <IFRAME src=<%=@iframe_url%> /> to no avail. Can anyone help me out? ...

Adding iframe to google code project hosting wiki page

Hi, Is it possible to add iframe inside google code project hosting wiki? I wan't to embed an external application using iframe in my google project page. My idea is to create a google wiki page and add the iframe in that page. How to do it? ...

Stop certain elements from being edited inside a doc having designMode = "on";

I am using an iframe and setting its contendocument.designMode to "on". This allows me to replicate a Rich Text Editor, and achieve much more flexibility in the editing process. The problem is that I have certain links (<a href="#" onclick="alert(1);">test</a>) that are added to the page, and of course these links don't work because i'm...

IFrame and SEO issue

I have some web site. There are some pages rendered using iframes to show page content instead of flat regular page. The reason is that before and after my content I show header and footer (some logo + basic html) of some other sites, which I can't change, and use iframes to prevent css problems (when header's and footer's css will overr...

Firefox having trouble with iFrame loading

Hey everyone, I'm having a weird issue with Firefox and loading of a PDF inside an iframe. Here is what the pages does. - Select an item from a drop down list - Load PDF inside a iframe based on the selection. All other browsers work fine except FF. One a select an item to load the status in the lower left corner says 'STOPPED'. I fi...

Javascript Execute After Page Render IE6

I am having trouble with some JavaScript running before the page is completely rendered in IE 6 (maybe other versions too but just testing IE6 for now. Firefox seems to be OK). I can get around this by calling the js on window.onload like this: window.onload = function(){doIt();} However, my concern is the fact that I will overwrite...

How to prevent CSRF/XSRF attacks involving embedded iframes?

Is there a way to restrict what an iframe is allowed to do in the parent? What I am looking for is a security model surrounding Javascript that looks something like: ... <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <script type="text/javascript"> function AllowedToAccess() { } function NotAllowedToAccess() { } </...

Dynamic Iframe IE Name Issue

Hey Guys, This seems to be a common issue, and the solutions which I have seen do not seem to be working for me. We've got a dynamically generated and inserted iframe, with a form which submits to it. Works fine in FF and IE8, but in 7 we are getting the iframe name issue (IE does not want to set iframe name using element.name or eleme...

How to make the size of the IFRAME the size of the container?

<td width="120" valign="top" height="100%"> <iframe src="menu.php" width="100%" height="100%" frameborder="0"> </iframe> </td> This code always gives the default size of an iFrame in my browser (same as: <iframe src="menu.php"> </iframe> ) I want the IFrame to get the size of the container cell. I know I can use PHP for i...

Change text box value of an iframe on a different domain using jQuery?

I have an Iframe for a page that allows people to sign up for my email newsletters. I want to auto fill the email field in the iframe based on the querystring url (page.html?email=email) I know how to do the querystring stuff, I'm just not sure If I'm able to access the input text box within the frame. The form or the textbox neither ...