iframe

Harden url passing to another page using parameter

i want to pass parameter to another page through iframe example <iframe src="http://otherserver.com/page?user=user_id"/&gt; rather than passsing user= id this way, is there any technique so that user will not aware of user=user_id ? ...

jQuery / Dynatree: How to use Json or ul/li together with IFrame sample

Hi I'm a newbie with dynatree, but happy that i've found this supercool plugin. On the dynatree site, I've found an example how to use it with IFrames http://wwwendt.de/tech/dynatree/doc/sample-iframe.html I was able to adapt the IFrame example successfully. But i'm a bit stuck here, because I'd like to load the tree either via UL/LI o...

Text box input target iframe

I'm an html noob and I just wanted to know if it's possible to make a text box in which you could type a website and when you click submit it will load the website in the iframe of your choice. ...

Printing a hidden iFrame in IE.

This solution works fine in Firefox 3.0+, but IE8/7 is just printing the entire page, not the specific iframe. This is the function that gets called when the print link is clicked: var printfunc= function(){ var url = http://someurl.aspx; //This iFrame has style="visibility: hidden; position: absolute; left: -9000px;" var printIF...

Page Viewer Web Part

I wanted to know if, 1. We can view a section/portlet of an external portal/Web Application? Using Page Viewer Web part we get a full view of the web application but I would like to ONLY view a section/portlet of the external web page. Is this possible? 2.How to achieve session aware Page viewer web part a. For e.g., i. I have l...

How to get iFrame src content using javascript?

I have a iFrame content which is having inside another iFrame. I want to get inside iFrame src content. how can i do this using javascript? ...

Facebook connect in iframe- popups shows inside the iframe

I'm implementing Facebook connect for a website. The facebook connect code is inside an iframe. Everything works well but when Facebook is supposed to show a popup dialog (for example FB.Connect.showFeedDialog or FB.Connect.streamPublish) The popup shows inside the iframe. Since its a small iframe window the popup is half hidden. Any i...

Read in Contents of a Folder, onto HTML

I am trying to create a news ticker for a website that reads in the contents of a folder, where each file in the folder would hold a news update, and I am trying to do this without having to manually create 10 different Iframes for each individual file, and having to keep files names etc. the same. Is this possible, and if so how is it ...

Dynamic IFrame Content from stream

I'm currently trying to implement something called 3d secure into our checkout system- http://stackoverflow.com/questions/1239760/implementing-datacash-3dsecure-in-c I've got most of the way there with it, however now, i'm having trouble creating an iFrame with the correct content in. Basically, the user enters their credit card detail...

Changing an IFrames InnerHtml from codebehind

I'm trying to set the HTML of an Iframe at runtime, from code behind. In my aspx page i have: <asp:Button ID="btnChange" runat="server" Text="Change iframe content" onclick="btnChange_Click" /> <br /> <iframe id="myIframe" runat="server" /> in the code behind: protected void btnChange_Click(object sender, EventArgs e) { myIfr...

How to get javascript in an iframe to modify the parent document?

So I have two documents dA and dB hosted on two different servers sA and sB respectively. Document dA has some JS which opens up an iframe src'ing document dB, with a form on it. when the form in document dB is submitted to a form-handler on server sB, I want the iframe on page dA to close. I hope that was clear enough. Is there a way ...

Conceptual: bookmarklet to create a header form and remove it again after submit

Hi So I've been pondering this for some time and trying out various strategies. Basically I'm trying to create a bookmarklet that, when clicked, pops up a header on whatever page you happen to be on. In this header, there is a small form, the contents of which are submitted to a server. Once this is submitted, the header should disappea...

How do I get the siteURL calling my page when it is loaded in an iFrame?

Is it as easy as $ENV{'HTTP_REFERER'}? or is there something else that I need to do? Example: My Site: sample.php Calling Site w/iFrame: somesite.com I want sample.php when it loads to be able to use "somesite.com" for input as a variable. ...

how to detect iframe iframe resize

is there a way to detect if content of my iframe has change... my work around is i have a loop which constantly check for the height of the content it effective but not efficient is there another way of doing this? thanks, ...

load a document string into an iframe

I have a string (fetched via ajax), which is an entire html document (doctype to < /html>). Does anyone know of a way to load it into an iframe? I cannot simply specify the url that returned the document in the src of the iframe, since the response may have come from a post, and repeating it may have ill effects. Also, I can't submit it...

<iframe> javascript access parent DOM across domains?

I control the content of an iframe which is embedded in a page from another domain. Is there any way for javascript in my iframe to make changes to the parent's DOM? For example, I would like to have my iframed script add a bunch of html elements to the parent DOM. This seems like a pretty tall order - thoughts? Edit: There exists a t...

Suppressing "permission denied" errors in Javascript

Hi I have a JS function that polls for the current url in an iframe, the purpose being to ascertain whether or not the iframe is pointing to the same site as the main document. As such, the code is basically: function urlCheck() { var location = document.getElementById('frameid').contentWindow.location.href; if (location) { /...

z-index not working in IE

Hi friends, I have a button, while clicking the button i just produce a div containing some checkbox. If the user select the required checkbox, it will produce a iframe according to the value of the checkbox and the div will disappear. Its placed immediately below the button. Up to this its working fine. If the user again click the butt...

Catching events from Iframe in Firefox

This should subscribe function "handler" on scroll events from every iframe on the page var iframes = document.getElementsByTagName("iframe"); for (i = 0; i < iframes.length; i++) { var current = getRealObject(iframes[i]) current.contentDocument.addEventListener('DOMMouseScroll', handler, false) } function getRealObject(objec...

how to create a window focus hook

I have the page with iframe (having java applet), now I want to monitor where the focus is from the parent page. Is it possible to check whether Java applet was closed (inside iframe) by monitoring which frame/page has the keyboard focus? ...