iframe

Iframe auto-height not working when page changes in IE

I have an iframe in a page, with the following auto-height script. function autoHeight(e) { if ( e.contentDocument ) { e.height = e.contentDocument.body.offsetHeight + 35; } else { e.height = e.contentWindow.document.body.scrollHeight + 35; } } document.domain = "example.co.uk"; var ifr = document.getEle...

C# & Session Variables to iFrames

I am currently in C# and I have set Session variables on each page. The link to my Colorbox is in the MasterPage, and on click opens up in> an iframe from a different page in a different folder i.e. /admin/deals.aspx <-- iframed page in colorbox which needs SESSION /default.aspx <-- page with set SESSION Is there a way I can pass th...

How to get InnerText of IFrame from another site?

I am trying to do some screen-scraping of a website. The content that I want to get is inside of an IFrame. How do I get the InnerText or HTML that is being displayed inside of the IFrame? I am using .Net 4.0 and C#. I want to be able to do this from a WinForm. I tried this, but can't find where to get the actual data from... ...

What is the best way to optimize an iframe content in webpage for search engines

I use an iframe in my site , How i can let the search engines robots read and index the content , and the results point to the page including the iframe ? thanks. ...

restrict script inside iframe to run only within pages of same top-level domain?

I'd like to enforce a requirement that client script inside a page (which in turn is loaded inside an iframe of another page) will only run when the parent page is on the same top-level domain as the framed page (although it may be on another hostname in that domain). Is this do-able? I assume that the easy solution of looking at top...

Placing an IFrame before the Silverlight object in aspx page fails to render the Silverlight Control.

I'd like to have an IFrame appear above my Silverlight control (top to bottom not Z-Order). If I place the IFrame element before teh Form element only the IFrame appears on my screen. To reproduce create a new Silverlight 3.0 Web Application. In you TestPage.aspx simply add: <iframe width="600" height="200" src="http://www.google.com...

Iframe covers navigation bar, needs close, open to fix?

I have a small webpage with a form, iframe-d in. When I put invalid input inside the form, the iframe covers up the navigation bar and I can't get the navigation bar back without closing and opening the page again. Here is where I am (temporarily) hosting the webpage: dl.dropbox.com/u/1144456/rlp/v2/demo.html the css stylesheet: dl.dr...

Debug gwt inside facebook iframe

I'm trying to debug my gwt 2.0 apllication that runs inside facebook iframe. When i use 'http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997' as "Canvas Callback URL" my app doesn't loading, but when i compile it and use 'http://127.0.0.1:8888' it works perfectly. ...

Load on page inside another onClick

Hello, I need to include the content, scripts, forms and dynamic abilities of one page in another onClick. Take a look at http://www.divethegap.com/scuba-diving-programmes-dive-the-gap/dahab-master-scuba-diver.html Then follow one of the links that says 'Beginner' 'Open Water Diver' etc.... You will find a PHP page with a series of o...

Preventing iframe caching in browser

How do you prevent Firefox and Safari from caching iframe content? I have a simple webpage with an iframe to a page on a different site. Both the outer page and the inner page have HTTP response headers to prevent caching. When I click the "back" button in the browser, the outer page works properly, but no matter what, the browser alway...

How to submit an iframe form and close jquery lights out in a single mouseclick

The web app i'm creating uses jquery lights out and has an html iframe to an internal form. Whoever uses this app will have to press the submit button. Is there a way i can link a free area of space surrounding the submit button, so any clicks within that space call the jquery functions in my code? I'd like to do this so submitting the ...

Question Qtip through iFrame - With JQUERY LIVE

Hello, I'd like to find a fay to use Qtip in an iFrame on my page. I found a way to use QTIP on an iframe, but not with JQUERY LIVE.... qTip through an iFrame: http://craigsworks.com/projects/forums/thread-question-qtip-through-iframe Any ideas on how to apply JQUERY Live to that? My current code: $('iframe').load(function(){ $(thi...

Preload IFrame or load with Ajax.

Hi all im building a web user interface. In this interface i use popup divs to capture user input and other tasks. On on of my popups i need to post a form so that i can handle uploaded files. Id like to do this in an iframe so that it dosent effect the main page form. Id like to know if there are any drawbacks to this method and if i ...

Page with 1 iFrame, how do u access the iFrame when you don't know the name or ID - w JQUERY

Given an html page with: <iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, editor_kama, press ALT 0 for help." style="width: 100%; height: 100%;"><html><body><p>replace me</p></body></html></iframe> How can I access the iframe assuming I can't give the iFrame a name or ID since it's made dyn...

Loading one page inside another

User 'Citizen' provided an answer to the iframe situation with the ajax script from dynamic drive. As I predicted it although it loads one page inside another it does not work with the calculation scripts, collapsible panels, validation form. All of it simply not working. I have set up a test page that has the exact same HEAD section as ...

JQUERY gotcha, Why can't I change inside an iframe that is hosted locally?

Give the following on a page: <iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor" style="width: 100%; height: 100%;" id="hi-world"> <p><span class="tipoff" title="System tooltip for search engines">Download now</span></p><p>adasdads</p><p>a</p><p><span class="tipoff" title="System tooltip for se...

jquery ToolTip that works in an iFrame?

Does anyone know of any JQUERY ToolTip plugins that work well in an iFrame? I tried qTIP and it's positioning is all off. Would appreciate any suggestions. Thanks ...

Insert a Script into a iFrame's Header, without clearing out the body of the iFrame

Hello, I'm looking to add a script to an iFrame's header while not losing everything contained in the iFrame's body or header... here is what I have right now which does update the iFrame with the new script, but it cleans everything in the iframe out, not appends which is what I'd like. thxs! B // Find the iFrame var iframe =...

Use of the element iframe in xhtml 1.1

Please, I am not a programmer, all I want to do is use iframes on my wordpress blog which is validating as xhtml 1.1. If I use the iframe I am not validating. I get the error element "iframe" undefined Amazon.com, widgets and astore links all come as framesets or iframes. Can someone help me please. ...

Position Div using Javascript on page refresh

Hi all I have a div that I would like to reposition each time the page is refreshed. It is currently set in the css using top and left. I wold like to pass the top and left values on page refresh. #inneriframe { position:absolute; top:-170px; left:-5px; width:1280px; height:1200px; } The content is from another site and contained in...