iframe

Way to get element user is currently typing in within designMode iframe?

I have an iframe with designMode set to 'on'. In it, there are multiple divs, and because the iframe is editable, the user is able to type in and edit any one of those divs. I need to disable the ability for the user to edit one of the divs. I can prevent the user from clicking on the div like this: document.getElementById('mydiv').add...

Set a variable in an Iframe

Is it possible to create an Iframe using document.createElement("iframe"); and then set a variable in the iframe's window object such as a namespace? I have tried doing something like this: var Namespace = {}; var iframe = document.createElement("iframe"); iframe.src = "page.html"; document.body.appendChild(iframe); var iwin = ifram...

Opening a Jquery Dialog in the main window from iframe

Hello! I've been trying this for all day... I've a form in a iframe and this contains jquery validate for the form validation. I just want that when the data is invalid, the jquery dialog appears in the main page, appears in top.document. this is my code on iframe: $("#dialog-message", top.document).dialog({ ...

Submitting HTTPS over an iframe in IE problem

I'm working on a script to automatically sign you in to basecamp for a project... so far i have come up with the following as something simple just a form you submit which posts to an iframe: <html> <head> <style> #bc1{ width: 100%; height: 350px; } </style> </head> <body> <iframe id="bc1" name="_bc1"></iframe> <form method="post" i...

Looking for an IFRAME like ASP.NET Server Control.

Does anybody knows, if there is an (free) IFRAME like ASP.NET server control ? It shoud behave like a container control, which adjust itself the width and height dependend on the browser resolution respectively the width/height of its parent control. Background: I want to show/run a web-application inside a web-application. ...

iframe scrolling on the iphone

I was aware of multiple scrolling libraries (TouchScroll, iScroll) for the iPhone/iOS due to its inability (???) to support overflow:scroll . However, I was not aware (and I am looking for confirmation) that IFRAMEs don't really work either. It appears that the iframe doesn't respect any attempt to give it a fixed size and always just re...

IFrame document height returns the IFrame height not the real height

I have some javascript inside an iframe that sends the height of the iframe body to the parent page using the three frame technique at http://stackoverflow.com/questions/153152/resizing-an-iframe-based-on-content The height of the iframes body always seems to come out at 900, the viewport height of the iframe. This is consistent across ...

payment gateway (eWay) page in iframe - any security issues?

I would like to use eWay (http://eway.com.au) as payment gateway but the problem is it doesn't allow much customization on their hosted page. I would like to display products client would be paying for but that is not possible so I thought maybe just whack hosted page into Iframe. But then again, I'm expecting security issues with it, a...

If an iframe has an infinite loop, would it stop functions of the parent window?

What my understanding is that functions in an iframe are "independent" on the parent window. So I think if there is an infinite loop in the script of the frame, the parent window should not be interfered. I implemented a program to test it, but found the infinite loop blocks the parent window's functions. Is the program or my understandi...

How to remove the "Be the first of your friends to like this" part of the standard iframe Facebook Like button?

I'm using the standard Facebook Like button (iframe, not fbml). Is there a way to only display the like button, not the 'Be the first of your friends to like this' part? ...

How to load pop-up of Iframe outside Iframe?

For example I have a site www.site1.com and i'm using a iframe on a page of site1.com and source url of iframe is a page of www.site2.com. page of site.com which is iframed on site1.com has some links which opens images in popup like lightbox. on site1.com iframe has fixed width and height and i cannot extend further. But the proble...

iframe domain issues leading to 500 internal server error

Hi, I have a strange issue with a website that cannot reference any resources from another site. The source site (A) is trying to iframe a page from the other site (B). For some reason, site (B) is returning a 500 internal server error. I then tried just to reference a simple image from site (B) with a tag and that returned a 404....

Best practice for allowing users to embed content

Hey guys, I know there are a lot of services out there that allow users to embed created forms on their websites, and I was curious about the best practices for creating such a service. Two obvious methods are iframes and div replacement with javascript. What are the advantages / disadvantages of both, and are there any other alternat...

Pass a session from gwt into an iframe

Hi , I am working on a website built using GWT.Now i have an Iframe which actually opens up another website( for example say a Forum).Now all i want is a Single Sign On .That is once the user log's in into my system he is also automatically signed in into the forum and he can access the form with his username. Now the forum is actually ...

UIWebView content with scrollable iframe

I have a html page with iframes where part of the page is scrollable while other parts are not. Is there a way to display this in a UIWebView and allow scrolling these iframe sections? So far I see that only the entire page is scrolling. ...

Clicking on iFrame does not blur Ext Combobox

I have a page with a Ext.form.ComboBox and a TinyMCE Editor, which uses an iframe for its body. The problem is that when the ComboBox has focus and the user clicks on the iframe, the ComboBox's blur event is not fired. If the user clicks back to the ComboBox, the focus event is also not fired. However, document.activeElement does change ...

Special characters on iframe link

Hi , Iv'e got an iframe that contain a page with a links . The link look like : "http://www.somesite.com/default.aspx?param=value&amp;param2=value2&amp;param3=#SOME". When i click the url , the param3 value disappear , probably becuase the "#" character , The link came from webservice of other application and they cannot make a urlenc...

Check for certain string in iframe JS

Hi, This is my dilemma. Right now, I'm loading some content from an external site into an iframe. And this is what I'm looking to do : Basically theres a button (in the iframe) and when pressed the contents of the iframe changes. So, if the contents of the iframe changes I'd like to refresh the page and change the size of the iframe. ...

jQuery Overlay to parent frame

I'm working on project that needs to integrate some new HTML work that includes the jQuery overlay plugin. Because of the way it was designed this new page needs to be hosted in an IFrame. The overlay then needs to be created in the parent frame not the innerframe. Has anyone hacked around on this library before know a good fix? I don't ...

how to properly size jQuery.ui dialog with an iframe

When I open a jQuery dialog with a predefined size (say, 800x600), the iframe within the dialog is not resized properly. It appears like it has the default size. In fact, the height is OK, but width seems to stay at 300px for no reason. I'm creating the iframe and dialog like this: someVar = '<iframe id="some-dialog" class="window-fram...