iframe

Pass a value to an inFrame

This probably an easy thing to do but for some reason I can't get a handle on it. I have a simple form that allows people to select one if three items for sale. When they chose their item I need to pass that variable into an iFrame with a third party checkout page to safely process their cc transaction. How would I do this? Cheers- ...

using cookies to provide automatic login

hi all, I have some web applications written in php , all hosted on the same server. for e,g webmail.xxx.mu forum.xxx.mu wiki.xxx.mu I want to integrate all of them in one webpage like this: *create one webpage (main page) *create one IFrame *create one navigation bar at the top of the main page. *when you click on "...

Jquery and Ajax to Dynamically load IFrame

I have a script that dynamically loads iframes inside a webpage. You can see the demo here: DEMO I want to use jquery to achieve a similar rseult, but with a nice sliding effect, and external links that load the iframe in another div. Basically, I have 10 links on a page. When the link is clicked, I want the iframe window to load in the...

iFrame src something other than javascript:false but same effect

Is there any other way to write javascript:false that is more pleasant? I'm building a print functionality for an intranet app (for IE6) and I make the printed page using an iframe: $('body').append('<iframe id="printIFrame" src="javascript:false"></iframe>'); $("#printIFrame").attr('style','position:absolute;left:-500px;top:-500px;');...

Get selected text and its parentNode from an iframe

I've tried many methods to get selected text and its parent from an iframe but it did not work at all. Please advise... Thanks ...

Write Local File using Adobe Air Iframe

This is driving me mad. I am creating an AIR application and everything is working great. However I would really like to have a form inside an Iframe that when the user clicks submit saves the file to local application storage directory. Right now I am able to do this and save the file with no problems when I just access the HTML page...

How do I find out the DOM node when select text in a browser’s editable content window using Javascript?

I want to get parentElement when I select some text in iframe. iframe = document.getElementById("iframe"); function getParentElement(){ var sel=iframe.contentDocument.getselection(); return sel.parentElement() } getParentElement(); when I run this code it show Error:" TypeError: iframe.contentDocument.getSelection().parentElement i...

How to resize a iframe inside the containing page?

I want to access the iframe my page is in and resize it. By the way I'm doing it in javascript. It's something like parent and height or offsetHeight. <iframe src="mypage.asp" height="400" width="400" ></iframe> And in mypage.asp I do sth similar like this: var h = // new height; parent.height = h; But it ain't all right...

Change Iframe Content from Cached HTML?

Is there any way that I can change the content of iframe from a cached html string? I am not talking about iframe.Attribute["src"] = "url", but rather given a string of html and change the content. An ugly workaround might be saving the html into a file and change iframe src to it. Any other ways? Maybe javascript can help? ...

IE6 iframe anchor links moves iframe up

Hi, Having a real head scratching moment... I have a site where there is a footer div that always sits at the bottom of the screen (26px high), and above that I have an iFrame which sizes to 100% of the remaining height. This works well. Even clicking on anchor links inside the iframe works as it should in all browsers (apart from IE6)....

Best way to determine if frame is cross-domain?

What is the best way to determine whether a frame is cross-domain? Here's what I have now: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt; <script> $(document).ready(function() { $("#foo").load(function() { alert(isCrossDomain(window.frames["foo"])); }); }); ...

Open an Excel htm URL via iFrame in a separate browser

I have some URLs in an Excel file which I have saved as a .htm (webpage) file. I then view these in a browser via our wiki (MediaWiki). This is done using an iFrame embedded in the wiki page. So, just for clarity, the link is in a htm file viewed via an iFrame in a wiki page. When I click on that link, it opens inside the iFrame. Wh...

jquery isn't working properly when an iframe is present.

I'm developing a simple jQuery shopping cart and have a message box fade in when the item has been added correctly. $("#results_info").html(''); $("#results_info").fadeIn(); $("#results_info").html(data); setTimeout(function() { $("#results_info").fadeOut(); }, 5000); If I have an iframe on this page. I have to hover over the ifram...

Refresh iFrame (Cache Issue)

We are getting a weird issue on which we are not sure what exactly cause it. Let me elaborate the issue. Suppose, we have two different html pages a.html and b.html. And a little script written in index.html: <html> <head> <script> function reloadFrame(iframe, src) { iframe.src = src; } </script> </head> <body> <form> <iframe id="...

Strange jQuery $(window).load() behavior in Safari

I have a page being loaded in an <iframe>. Inside the <iframe>, I have a function that patiently waits for the page to load using jQuery's $(window).load() event which is supposed to wait until ALL page content (images, javascript, css, etc.) is loaded before firing. The function then calls back to the page loading the <iframe> using p...

Iframe changing according to javascript and php

hi everyone! I'm attempting to reload an iframe when a onChange event occurs heres what i got in javascript tags in the header ` function getSchedule(oEvent) { var n = document.getElementById("wantedTherapist"); var newn = n.options[n.selectedIndex].value; window.frames['schedule'].src = "schedule.php?therapist="+newn; }...

How to make a page with a https iframe appear secure

Hi, I have a page on a website that contains a secure form inside an iframe. Although the form data submitted is secure the page doesn't appear secure as the URL in the browser is just http. Is there anything I can do to show the users that the form is secure? ...

iframe height adjustment

Is there a way to set the height of the iframe to be the same as the height of its source? I am trying to a) Avoid scrollbars and b) Avoid using fixed height in px Thank you. :) ...

Facebook Developer Toolkit - IFrame - Use Comment Box

Hi, I have used the facebook developer toolkit to create a simple facebook application with asp.net The application is using an IFrame. I would like to use the facebook comment box but the comment box is not created for some reason. ...

Facebook require_login() in iFrame App

Hi, I have serious problem with iframe application. I need to use many external JS libraries and other dynamic stuuf so FMBL application can't be done. When I call require_login() I get applicaition installing dialog when app is not already installed, which is ok. But then after authorization application enters an endless redirect loop ...