I have an iframe that needs to catch the onscroll event from the parent window. The domains between the iframe and the parent are the same. I have gotten code to work in FF and IE7, but IE6 does not work, and I don't know why.
In FF:
parent.window.document.onscroll = function(e) {...} works
I've tried many things through trial and error...
This is one of two scripts I'm having problems with involving the fb:friend-selector. It's a facebook iframe application but no matter what I try, in ie6 the height is around 150px which gives scrollbars. By adding 1px borders it would seem that in other browsers where it does actually work, there is an initial height of around 150px whc...
I have a website with multiple pages. All of the pages have an embedded IFRAME in them (always the same iframe src).
My problem is that the iframe contains some statistical tracking code, (like statcounter), and statcounter only shows the name of the iframe as the page being visited.
Is it possible somehow to include a few lines of jav...
I have a module built in CakePHP that is hosted within an iFrame. I need to have a redirect target the parent page. Using normal HTML I do:
<a href="#" target="_parent">
But how do I do that for CakePHP redirect?
$this->redirect('http://www.url.com');
...
If I have a page served from foo.com which has an IFrame served from bar.com, then can a script inside the IFrame make an XMLHttpRequest to bar.com?
Also say that the IFrame from bar.com requests additional pages, then in the server, the referrer of these requests would point to bar.com or foo.com?
...
Hi,
I'm trying to execute an HTTP GET from my website to another website that is brought in via iframe.
On Firefox, you can see in the source that the correct url is in the iframe src along with it's correct parameters-- and it works.
On IE, you can see in the source that the correct url is in the iframe src along with it's correct pa...
When creating a facebook iframe app, facebook passes parameters to the application as GET parameters. Within the query string is a field called fb_sig which as a unique signature that only facebook can create.
The problem I am having is that I can easily copy the query string append it to my application url and access the application f...
I know I can do it with the Google Maps API, but do you know if there is a way to change the marker in an embedded Google Map?
I want to replace the default "A" button for a "B" button (http://is.gd/1JLxk) or the one with just a dot in the middle (http://is.gd/1JLvH).
Thanks in advance!
...
I have an asp.net site using the Google Mini. I have a search box on the masterpage that redirects to a search results page that displays the results in an iFrame. This approach is all taken from the documentation provided by Google for the Mini and seems pretty simple.
What the doc doesn't cover (or I can't find) is that clicking on ...
Will
$(document).ready
in parent page wait for iframe content to be loaded completely?
I have a parent page in which there is a an iFrame. After the iFrame is completely loaded I need to invoke a function in the iFrame from the parent page.
...
I want to use frameready plugin to pass data to an iframe. The example on the site is as below.
$.frameReady(function(){ $("<div>I am a div element. "+frData.myVariable+" </div>").prependTo("body");}
, "top.mainFrame"
, { data:{myVariable: "I am data passed to this frame"}
, load:
{type:"script", id:"_fr", src:"/js/myscript.js", ...
I have an iframe on my page. I want to assign a function to run when the SRC of that iframe changes (ie, someone clicks on a link inside the iframe). Is this possible? I've tried:
$("#my-iframe").change(function() { ... });
but nothing fires.
...
I have been desperatly searching the web for a way to auto resize an iframe. I have tried many scripts online, but most recieve a permission denied error.
Both sites are members of the same subdomain
site 1: (views iframe) sub.domain.site.ca
site 2: name.site.ca
how is this done (both are members of 'site.ca')
...
I dynamically load an iframe with javascript. After it's loaded, how can I make it scroll down a specific number of pixels (ie. after the page in the iframe has loaded, how can I make the iframe scroll by itself to the a specified region of the page?)
...
I've got a page that has an iframe and web page in the iframe runs a focus() on one an input box in the iframe... how can I prevent that focus() from running?
...
Background
I built a site for a film-production client.
They needed a way to demo their showreels to the public and agreed upon a modal <iframe> approach (using jQuery and Fancybox) to showing their reels, all streamed via a third party provider.
You can see the functionality in action here: http://groundglass.co.za/directors/ by click...
How does images.google.com render its frames??
I have two servers, that have external web viewable content, and an internal search engine that only admins can use. The external content cannot be edited, it was created with some proprietary technology. What I want to do is allow my internal admins to see a bar that allows them to perfor...
We are developing a very large web application in .Net 3.5. Two separate vendors are involved having expertise in different areas. Both the vendors are located remotely and working on separate functional area of the same web application. I was wondering what is the best way to handle the development of UI.
The UI have a master structure...
I have a script in an iframe that listens for movements of the mouse from document.body as follows:
$(document.body).addEvent('mousemove',this.refresh.bind(this));
This works fine from within the IFrame, but I want to also track that the mouse is being moved outside of the Iframe. Anyway to do this? I am using MooTools.
...
I have an iframe inside my page... And this iframe is basically a simple form with date input field to which I binded jquery datePicker.
My problem is that iframe is pretty small in dimensions, so when I give my input field focus and datepicker rolls out, it's only partly shown and the rest is hidden inside of iframe.
My idea is move d...