I'm doing some simple web integration work which I'm accomplishing through use of an iframe. My main window has some javascript which interacts with my server to redirect the iframe to the required URL. One of the target pages sadly has the following piece of code inside:
if (top.location != location) {
top.location.href = documen...
I have an iframe that contains a page that is constantly updating (basically a logger type thing). Is there a way (either via JS/jQuery or otherwise) to force the iframe to stick to the bottom of that inner page even as it expands?
I basically want to mimic the way may log viewers stick to the tail of a log file as it is updated. I foun...
How do I use the JavaScript DOM to apply onclick events to links inside of an iframe?
Here's what I'm trying that isn't working:
document.getElementById('myIframe').contentDocument.getElementsByTagName('a').onclick = function();
No errors seem to be thrown, and I have complete control of the stuff in the iframe.
Here is some code to...
Someone has already asked, How does the DiggBar work? in a previous question.
While someone provided a decent answer it didn't address one thing:
How does Digg dynamically resize their
iframe's height, based on the content
of a site across a different domain?
There are plenty of questions and answers here on SO for dynamicall...
Getting contradictory messages about that, hope they're not.
I cannot imagine support for it would stop, since a gazillion sites use them.
Some additional questions about that:
Why should they phase out this tag?
Any alternative for it?
tx
...
I'm using an iframe to integrate two of our customer's apps. I'd like the iframe's location to persist even when the top level window is refreshed.
Example:
user loads http://myserver/main.page?target="sub.page" in his browser
my javscript code sets the source of the iframe to "sub.page"
user clicks a link within the iframe and the...
Hi all
We're developing a web shop, and process payments with a third party UI.
We have chosen to show the payment UI inside an iframe inside out check-out page, even though (we now realize), the payment solution provider recommend using a top-level window.
Now what happens is that in IE7/IE8, the payment UI loses session state on the...
I am working with a simple table-based layout that uses iFrames as depicted in the example below. This code is rendering well in all modern browsers. The iFrames are usually filled with long tables of data, but there is no odd behavior or clipping.
My concern is that it LOOKS like a really bad hack to me. Table-based layout evils a...
I have an HTML layout based on tabs (say 5).
In each tab I load an iframe. The iframe contents are variations of one another that the user can compare by switching tabs.
How can I, in javascript, synchronize the scrolling of all iframes vertically and horizontally?
In other words, scrolling in one iframe should scroll by the same amount...
Hi all,
I'm experiencing difficulties getting my iframe to display correctly in IE6 & IE7.
www.e-g-t.nl
I think IE has the height of the iframe stretched to far beyond the 400px height I set it to be, and the content is vertically centered.
I'm not an expert at css or html for that matter and don't seem to get it right. In IE8 though, ...
Suppose i have some tabs (e.g. jquery tab) and I want to dynamically load some page in each tab.
I can do that by jquery ajax tabs (basically filling div with ajax data)
or
each tab can contain an iframe and page loaded into that.
Q1. I see no difference between two approaches to user, is there?
Q2. I think iframe way is better bec...
we are trying to develop a flash based jabber client. How can we minimise the issue of polling to the server when a new page is loaded without implementing an iframe?
...
We've got a site that shows some content in iframes loaded from another domains. What I'd like to do is setup some Goals to track if this stuff is clicked, is this possible to track these clicks?
I know that this content us outside our domain but is it still in the dom?
...
I have been having a lot of trouble figuring out how I can access the content within an iframe in Air. Here is some example jquery code that I have been testing with.
$(document).ready(function(){
$("#frame").ready(function(){
air.trace($("#frame").contents().find("body").html());
air.trace(window.frames["frame"].innerHT...
So - I have a page which contains a textarea and a dynamically created IFrame which displays a PDF using the adobe acrobat plugin.
Initially the textarea is focused.
I want the textarea to be focused, but the IFrame steals focus when the pdf is loaded.
In firefox it is trivial to reset the textarea as the focused element.
I do this...
Hi,
I have a pretty simple problem which I have not been able to fix myself (I am having trouble manipulating iframes).
Basically, go to say this page....
http://andrew.koallo.ca/new/393NelsonSt-JordanFisher
click on "Click here to Map"...and a map should load up for you....now if you his back once...it will only take back the iframe...
I ask this because I want to display a page in iframe and on clicking any link in iframe content, it should display it in the same iframe.
Check this site. and see how an iframe alow me to surf other sites.
...
I'm having a truly... bizzare error in none other than Internet Explorer with a windowing system I'm developing. Basically, the windows are absolutely positioned divs containing ah iFrame that shows their page and resizes along with them. In all other browsers this works fine as intended, but in IE the iFrame doesn't show up... properly....
I know they are bad practice but I have a real need on an internal website for an iframe. I achieved this using the following code behind code on the go button and the iframe html code below.
frame1.Visible = true;
frame1.Attributes["src"] = "http://freckles/bksb_ict/frmDiagnostic.aspx?" + args;
<iframe id="frame1" scrolling="auto" sty...
I have found this code for putting hidden iframe into my html and loading url into it:
var i = document.createElement('iframe');
i.style.display = 'none';
i.onload = function() { i.parentNode.removeChild(i); };
i.src = 'http://www.google.com';
document.body.appendChild(i);
And I would like to ask, can I access in javascript the source...