iframe

Find the window of an element inside an iframe

Is there a cross browser method of returning the window object of an element whether it be in an iframe. This does the job for me but I don't know how well supported it is or if jQuery has a solution. var edoc = elem.ownerDocument.defaultView || elem.document.parentWindow; ...

How to use custom a facebook dialog, like this example

How i can create a custom dialog like this: I'm using iframe application with graph api/new js-api, but i cant figureout a way to reproduce this, the buttons and the title, keep the user languague. regards. ...

Block iframe from setting parent.location (prevent framebusting)

I have a website on my own domain where i include iframes to other sites on other domains for quick preview purposes. The problem is that some websites has framebusting code that redirects the user from my site. How can i stop this. Even not showing the iframe at all would be better than the redirect in the case of a framebuster. Shou...

android webview iframe overflow

Hi, I'm currently building a web app in android. My app runs in a webview, and loads third-party contents through iframs. The iframe size is fixed and supposed not to be changed by the content loaded. In desktop Chrome browser, it works fine and the overflow part of loaded content can be scrolled via scrollbars. However, in android webvi...

Clip content from remote website using javascript and Iframe ??

Is there any helper for Iframe in Rails ?? *EDIT:*I have a link which redirects to a remote website , i need to get the COntent from that website and store in my application is this possible , I dont need a browser extension or plugin. ...

Cant access values inside my iFrame it gives me permission denied

Hello I cant access values inside my iFrame it gives me permission denied. I have access on both pages (parent and child). I added the following javascript line on both pages: document.domain = "sub.domain.com"; but firebug gives me : Illegal document.domain value and when i try to access element inside the iFrame it prompts : Permi...

Prevent URL being stored to browser history

I need to open a popup window to a url with certain parameters. The parameters contain information that I would like to prevent from showing up in the browser history. The url points to a 3rd party site and I can't affect the way those parameters are transferred to them (can't use POST for example). Currently I have worked around this s...

lightbox like script cross-domain iframe in firefox

I'm looking for a lightbox-like script that can open a cross-domain iframe in Firefox. I tried several scripts and Firebug says that it's not possible to get Window.frmResource property. Thanks in advance ...

How do I use the full navigation zoom control in embedded street view iframes?

I'm trying to embed an iframe containing the google street view panorama object. Embedding works by passing a url to the iframe using the following options: <iframe width="562" height="314" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/?ie=UTF8&amp;amp;t=i&amp;amp;layer=c&amp;amp;cbll=LALTITU...

Alternative to iFrames with AJAX

What are the best alternatives to iFrames with AJAX? iFrames are not the best way to inject HTML into a website page that is on another site, I would love to know of a technology that does this, I prefer AJAX. This iFrame will be on other peoples sites, so we don't have access to other users site, just the internal iFrame. ...

Integrating google docs into website

The "publish" feature of google docs looks like a perfect way to put all contents of a site away, without need to manage pictures and other content in CMS and move it all to google docs by embedding the published documents on a website. However google allows iframe embedding and this has some obvious disadvantages (like all links will o...

Compatibility of iFrame support on a lightbox type of popup in IE6?

Hi, I have recently had a site developed which has a number of popups. The popups don't work in IE6. Th developer has told me the iframe support on a lightbox type of popup does not work in IE6. Is there a workaround? Thanks! ...

How can I load an iframe with JavaScript?

hi to all i am using jquery and php. i want to open iFrame when i change product id in browser url. can any one help me "how to get id from browser window even i manually change the produt id ". and open iFrame. Thanks ...

style.display and href value = #.

Hi, I have the following problem. I have a page that adds iFrames dynamically using jQuery. Inside of the content of some iFrames there are hyperlinks like: <a href="#" onclick="hideTestDiv();"> the function hideTestDiv does: ... document.getElementById('test').style.display = 'none'; .. in IEs browsers, this causes the ma...

insert web page (like ticket booking) into another page

Hello, i need to integrate http://www.ebookers.com/ booking system into my web page, unfortunately i've never done that before. Would be glad to hear any advice how to accomplish this. Thank You ! ...

iframes and reloading

I recently seen a flash game application that posted a score to a db and there was an iframe that reloaded when the score was updated it was simple but i cant seem to find anything on google, and the page was taken down- how car i achieve this myself? ...

Making JavaScript call across domains

Here's the goal: Hand off a script tag that references a JavaScript file on a remote server. That JavaScript file should return HTML that will then be displayed on the calling HTML page. I've attempted to approach this in two ways: First, I attempted to use XMLHttpRequest in JavaScript to call this remote server. In IE, it would wor...

adding text into iframe with jquery

Hello everyone. I have an HtmlEditor from asp controltoolkit. That creates an iframe with a couple things i need (bold letter, etc). I need to add text to that iframe with jquery. so long i have this. $('#<%= tbDescripcionInsert.ClientID %>').contents().text(textoMercancia.substring(15, textoMercancia.length)); My problem is that t...

Django -- CSRF Failure on IE for IFrame. No access to parent server headers for Policy Fix

I have a problem with CSRF validation failing on iframes in IE. I've learned I can fix it if i had access to parent page server by adding certain headers to my headers according to post http://stackoverflow.com/questions/389456/cookie-blocked-not-saved-in-iframe-in-internet-explorer, but I have no access to the parent page (third party...

zoom and rotate image , option in iframe

hi i want to know zoom plus and zoom minus and rotate the image in iframe. thanks in advance; ...