iframe

3rd party app in an iFrame must keep header/top frame session alive

Page has a header and an iFrame. The iFrame has content from a 3rd party app. The 3rd party app is leaded from a different server than the page. The user will spend most of their time in the iFrame. If the user spends most of their time in the iFrame the top page session will timeout. What possible ways are there to prevent that? Is t...

How can I render HTML from XML within an iframe?

I am making a REST call that returns XML from within a Widget in Zendesk using an <iframe/>. I would like to use XSLT to transform the XML into HTML that is rendered within the <iframe/> Is there any way I can write my XSLT inline, and have the <iframe/> somehow execute the xslt transformation, yielding the HTML to show in the <iframe/...

How to access and set iFrame element?

Currently, I am using jquery to make a certain class/span editable: $(function(){$('.test').editable({editClass:'tryThis',type:'textarea'})}); That works great. Now, what I would like to do is put the source into an iFrame (ID=iTarget). How would I access this class now? I tried: $(function(){document.getElementById('iTarget').$('...

jquery animate scroll not working inside iframe! :S

I am making an iframe facebook application. When I had it running as a normal website this: $('html,body').animate({scrollTop: $("#"+id).offset().top},'slow'); worked fine. Now it is inside the facebook iframe and the iframe is resized to fit its contents. As a result there is no longer a scroll bar on the iframe and to navigate you ...

Problem with Google Chrome and Javascript. Guru needed!

Hello, i have a strange problem only in Chrome using an iframe but working in all others common browser. the problem: If i type in the IFRAME and then press the button to send, it work fine, the focus back to the IFRAME and the cursor BLINK. But if i type and then press ENTER to invoke the event handler function, the focus back but the...

How Enable Right Click in IFRAME with JavaScript

So I have this IFRAME in my web page, the iframe has a login page (this is part of my domain) but then after the login the iframe redirects the user to an external site (not in my domain) but still is inside the iframe but without the option to right-click (disabled in the HTML code of that external page). I can enable the right click i...

How do I get the current iframe location from within the iframe?

I've seen solutions like top.document.getElementById('iframe_a').src But the problem is, that I don't know the Iframes ID. My Application is running as a Gmail-Gadget and therefore I don't know which ID Google will generate. So how can I get the URL of my gadget? Using JQuery will also be fine. ...

Help With iframe. Page loading too slow

Hello friends..:) Can anyone please help with the iframe in the following page: http://searchbankproperties.com/bank-owned-properties-orlando/ 2 questions: I don't understand why the page is loading slow.. Is it possible to only display the main content of the page I'm trying to iframe without the header and navigation? See the lin...

Accessing parent page with javascript inside an iframe

Is there any way to "break out" of an iframe? What I mean by this is that people will be placing my javascript tag inside an iframe (sometimes it ends up being nested iframes, but lets just deal with ONE for a now). I'm trying to gather certain information, like where that iframe is located on the page. It's easy enough to do it when you...

How To Display List of Sites One At A Time

I am looking for a way to display a list of websites one at a time from a URL list. I'm fine with a very manual solution, I found an AJAX solution where each "page" is displayed in a tab but it is very heavy because if I have 50 pages I want users to page through one at a time, this solution essentially pulls all 50 pages onto the one p...

Make iframe size of browser

How can i make an iframe the absolute size of a web browser? I'm playing around with this (http://liquor.com/askmen-jardiniere/) yet whatever I do in Firebug it's showing scrollers on the right and bottom. I've set the width/height to 100% but that doesn't work, auto width/height won't work, even setting scroller="no" or scrolling="no" i...

Invoking function in iframe on same-domain, supporting Internet Explorer

I have an event on the parent page that triggers a javascript function, which in turn calls another function on the child iframe. Both pages are in the same domain and I have verified this by having javascript display the document.domain in both pages simultaneously. This is what has worked for years, and is suggested in similar topics:...

PHP File Download using POST data via jQuery AJAX

So I know there have been a number of similar posts, but I think this is enough of a variation to warrant its own question: I am building an XLS exporter in PHP and jQuery. I am trying to POST an array with jQuery (which I believe is going to be too long as a GET querystring), and use it to generate an XLS file on my server, which the ...

How to get selected text from iframe (working on IE)

How to get selected text from iframe (working on IE) ...

Browser inside of a browser

I am not trying to track clicks or anything like other people - I just want to put a browser within a browser that can go back, forward, refresh, accept user-entered URLs, and store bookmarks. Can flash/silverlight/ajax/whatever do this? If so, how? ...

iframe and image popup position

I have nested a very long joomla page into a simple HTML page, using iframe When an image popup, they now comes up in the center of the long page instead, since it is a long page, the popup is not viewable without scrolling up or down. are there any way around this? Regards ...

how to alter iframe base property using javascript

I have an iframe from an external source. I want to alter it (with javascript) so all links are opened with another absolute URL. I'm assuming the best approach is to modify the base property (element) For example, assuming I embed stackoverflow.com as: <iframe src="http://stackoverflow.com"/&gt; I want that when a user clicks the link...

Using iframes to add dynamic content to statically cached pages

I have a wordpress based site which makes use of a full page caching system. Problem is that I need to add dynamic content for logged in users. Right now I'm keeping the caching enabled for non-logged users and disabled for the logged ones via cookie check. Would inserting the dynamic content in an iframe be an acceptable solution to ex...

location.href in iframe

Hi all, I have a simple html file saying; <html> <head> <script> var someClickEvent = function() { location.href = '?action=someOtherAction'; }; </script> </head> <body></body> </html> This scripts runs at 'domain.com', now imagine this file is requested via an iframe in a 'loca...

Cancel navigation on a frame?

Say I have a frameset with a frame where Google is loaded. I want to prevent Google from navigating anywhere when the user click on a link or a button. Is this possible? ...