iframe

Googlebot + IFrames ?

How does googlebot treat iframes? Does it follow the src attribute like a link? Is the iframe content analyzed as if it was part of the page where it is included? ...

"Access is denied" error on accessing iframe document object

For posting AJAX forms in a form with many parameters, I am using a solution of creating an iframe, posting the form to it by POST, and then accessing the iframe's content. specifically, I am accessing the content like this: $("some_iframe_id").get(0).contentWindow.document I tested it and it worked. On some of the pages, I started...

Running Google Analytics in iframe?

Our company runs a web site (oursite.com) with affiliate partners who send us traffic. In some cases, we set up our affiliates with their own subdomain (affiliate.oursite.com), and they display selected content from our site on their site (affiliate.com) using an iframe. Example of a page on their site: <html> <head></head> <body> <ifr...

Resizing an iframe based on content

I am working on an iGoogle-like application. Content from other applications (on other domains) is shown using iframes. How do I resize the iframes to fit the height of the iframes' content? I've tried to decipher the javascript Google uses but it's obfuscated, and searching the web has been fruitless so far. Update: Please note that...

What are the potential pitfalls of using HTML Frames for templating?

We could also include IFrames as well. ...

Javascript callback when IFRAME is finished loading?

I need to execute a callback when an IFRAME has finished loading. I have no control over the content in the IFRAME, so I can't fire the callback from there. This IFRAME is programmaticly created, and I need to pass its data as a variable in the callback, as well as destroy the iframe. Any ideas? EDIT: Here is what I have now: functi...

How can I access an IFRAME from the codebehind file in ASP.NET?

I am trying to set attributes for an IFRAME html control from the code-behind aspx.cs file. I came across a post that says you can use FindControl to find the non-asp controls using: The aspx file contains: <iframe id="contentPanel1" runat="server" /> and then the code-behind file contains: protected void Page_Load(object sender, E...

How do you post to an Iframe?

How do you post data to an iframe? ...

How do I set cookies from outside domains inside iframes in Safari?

From the Apple developer faq Safari ships with a conservative cookie policy which limits cookie writes to only the pages chosen ("navigated to") by the user. By default Safari only allows cookies from sites you navigate to directly. (i.e. if you click on links with the url of that domainname). This means that if you load a p...

Is there a way to have content from an IFRAME overflow onto the parent frame?

I have a UI widget that needs to be put in an IFRAME both for performance reasons and so we can syndicate it out to affiliate sites easily. The UI for the widget includes tool-tips that display over the top of other page content. See screenshot below or go to the site to see it in action. Is there any way to make content from within the...

How do I POST from an iframe to another page outside the iframe?

Within an iframe I have a user validate credit card payment information with a 3rd party website and upon validation the page will redirect to a predefined URL within our application. However, it POSTs to this URL within the iframe itself. Is there a clean way to redirect to the page I need? or do I have to use some intermediate page tha...

Is there any way instead of a JS hack where I can post from an iframe to another page outside the iframe?

Is there any way instead of a JS hack where I can post from an iframe to another page outside the iframe? the iframe is posting data to a 3rd party and then just responding back with a URL which is the redirection URl thus we cannot set the form target. We are PCI compliant and thus we cannot use window.parent.location = url; ...

Question regarding iframe and redirection

I have a webpage (say www.xyz.com/a.asp) .. I am having an iframe in this page which loads a page from a different website (www.abc.com/b.asp)... This b.asp asks few questions to the user and the results are posted to c.asp in my website (www.xyz.com/c.asp). This page (www.xyz.com/c.asp) gets loaded in the iframe. Is there any way so tha...

Accessing Controls on page loaded in IFrame in MS CRM 4.0 using Javascript

Hello All I have a custom aspx page loaded in a IFrame in one of the modules in MS CRM 4.0. This page basically has 6 textboxes (txtValue1, txtValue2 and so on..) with values in it. I want to access these values through javascript code either on the load event or save event. Does anybody know how to do it ? I tried couple of codes that ...

Force iframe to Load Full Frame

Hello all, I have an HTML page (say welcome.html) which contains an iframe to a page I have no control over (say app.html). The user performs some actions using the app within the iframe and clicks submit. Once they do this, they are taken to a new page (say thanks.jsp), which loads within the iframe. Is there a way in which I can fo...

How to prevent iframe load event?

I have an iframe and couple of tables on my aspx page. Now when the page loads these tables are hidden. The iframe is used to upload file to database. Depending on the result of the event I have to show a particular table on my main page (these tables basically have "Retry","next" buttons...depending on whether or not the file is uploade...

XUL - sidebar buttons that load new pages in main browser window.

I'm learning how to make a firefox extension. I have created a xul and overlay file that makes a sidebar in my browser. I'm trying to put buttons in my sidebar that load different pages within the main browser window. I'm not sure how to access the main browser window and load a new url within it. I have here a simple button and script t...

jQuery .ready in a dynamically inserted iframe

We are using jQuery thickbox to dynamically display an iFrame when someone click on a picture. In this iframe, we are using galleria a javascript library to display multiple pictures. The problem seems to be that $(document).ready in the iframe seems to be fired too soon and the iframe content isn't even loaded yet, so galleria code is...

computing a cross-browser iframe height

One of the most difficult problems in my javascript experience has been the correct (that is "cross-browser") computing of a iframe height. In my applications I have a lot of dinamically generated iframe and I want that all do a sort of autoresize at the end of load event to adjust their height and width. In the case of height computing...

How to interact with embedded PDF documents in iframes through JavaScript?

How to interact with embedded PDF documents in iframes through JavaScript? Is it possible? Is it possible in every main browsers? if "yes", how can I... ...know that the document finished loading? ...trigger the print dialog? ...configure the zooming? ...configure the toolbars? ...