iframe

mail sites in iframe ?

<style> .address_bar { width:1100px; color:#333333; font-family:Verdana, Geneva, sans-serif; } \#browser { width:90%; } </style> <script language="javascript" type="text/javascript"> function go_to_page() { var url = document.getElementById("address").value; //window.open(url,"browser"); do...

How can I make two different PDF files appear in the same iframe?

I used the FPDF class to create a multi-page PDF document and then I used an iframe to display the multi-page document. Here is an example of the result: I want to do the same thing on another page, except a bit different. Instead of displaying one multi-page PDF document, I would like to let the user upload two separate PDF's and the...

insert php variable at the end of url string with an iFrame

Here is what i've done so far but i just keep getting an error <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?> <iframe src="http://www.madisonb2b.co.uk/stockenquiry.aspx?id=B8FxKDnJ%2bIdaPT1Nw5wo4r87qHuHcCQIPZzeUE%2fI36LIFOM%2bayBi2RSX...

Capture iframe load complete event.

Is there a way to capture when the contents of an iframe have fully loaded from the parent page? ...

HTTP & HTTPS Iframe

Hi Guys, I am creating a small widget and I want to allow others to use it. The iFrame is loaded from HTTP - but I want to allow users to login via HTTPS i.e. that is - send a request for login via SSL Is this allowed within the same-origin policies or ? i.e. the scenario is that a user can integrate my javascript to their website, th...

How to get parent iframe element from inner page without knowing id?

Let's image that I have something like this: <html> ... <div> <iframe src="test.html" hash="r4d5f7"></iframe> <iframe src="test.html" hash="8f7x97"></iframe> <iframe src="test.html" hash="gg4v5e"></iframe> <iframe src="test.html" hash="e54f87"></iframe> </div> ... </html> test.html is empty page...

php variable to know when jquery has loaded?

I know you can get a $_SERVER['HTTP_X_REQUESTED_WITH'] php variable if jquery has loaded. That's great but if you use an iframe then that variable is no longer available. Is there a way to detect if jquery has loaded and give php a varaible in an iframe? I don't want to load a header or footer if jquery has loaded 100% but otherwise put ...

Allowing embedding of HTML to other pages. Iframe-, Script-tag?

I need to allow other people to embed some of my HTML and Javascript code. The HTML code itself is too much to be copy&pasted. Should I use Iframes or script-tags for embeding it? The script tags and iframes are used for example by Stackoverflow on Flair page How does those even exactly work? Aren't those a security risk? What method...

Problem with jQuery resizable inside iframe

I have a first page. Where is a link which open jQuery Dialog with iframe with second page inside. There is a resizable textarea inside second page. Actually the textarea resizable only when I open the second page strictly without iframe, but it's not resizable inside iframe. How can it be fixed? UPD: This is my html code from first p...

Return result from a form submit into an iframe in cakephp

How to return the results from the submission of a form to an iframe in cakephp? Another question is, how to return some message to iframe for every iteration over the loop of a controller action. lets say it iterates for 10 times, so after every iteration, it will immediately show message like"iteration 1 completed" and so on... in th...

How can I detect when source of iframe is changed?

I want to detect when user clicks a link in iframe and changes the source of iframe, because I want to resize it. Also I use jQuery. What is the best way to detect this? Actually I need something like this (this example is in jQuery, it does not work, I imagined this) $('#iframe').live('load', function(){ alert('src is changed')}); ...

use of iframe and .net

Hi, I'm working on a calculator developed in .net. I need to link to this calculator from a html page hosted in another server. If this happens, the user would need to come out of the html page to a .net page with a completely url, etc. I've devised to have an iframe in the html page with .net calculator in it. This would mean that the ...

How to create and post activity on myspace using MyspaceID.SDK c# toolkit

Hello I am writing an app that require to post activities to friends. I am using MySpaceID.SDK C# toolkit and using OnsiteContext to create an onsite app within myspace. I have used the Activity template and have seen the tutorial for myspace JSL. On the page, it said Myspace JSL was designed to use by the offsite application and ther...

onbeforeunload event on iframe is not triggered in google chrome, works in IE, firefox

If you set an unbeforeunload event inside an iframe, this is not triggered when you for instance click through to a link in the iframe. It works in IE and Firefox (not Opera, but Opera does not support onbeforeunload in general AFAIK). Just wondering, am I doing something wrong? Should this behaviour not be possible? Or is it a bug in ...

Can't replace a div inside of an iframe from its parent

I've got an iframe that I filled like this: var usableUrl = unescape(url); var iframe = $("<iframe id='pageContentDownloader' name='pageContentDownloader' style='display:block'></iframe>"); $("body").append(iframe); iframe.load(usableUrl, null, ondocloaded); iframe.css({ "width": $(window).width(), "height": $(window).height(), "border"...

i need the document.write code for iframe

Hello I want the document.write code to load a page(as iframe) example - i need document.write function to get http://google.com I dont want html function but as document.write ...

Why does youtube etc use <object> and not <iframe>?

Why does youtube etc use <object> and not <iframe>? What are the advantages of object over iframe for this case? ...

Facebook iFrame application: How to pass data from URL Query String

Hello! I have a Facebook application that has a picture gallery. It's build in Flex 4. I want to allow users to link to a specific image. How can that be done? The only way I see this being done is adding a GET var like &my_picture=asd.jpg in the Facebook page URL, but I don't know how to read that from the iFrame. ...

best way to set document to preserver inner iframe's javascript?

i'm thinking of creating an alias to document and then forwarding all inner iframe references to document.frames..? any better solutions? ...

Make specific elements in designMode iframe read-only?

I have an iframe which has designMode set to 'on'. In it, I have a div which the user should be able to type in, and also in the iframe, I have another div which the user should NOT be able to type in. Is there a way to do this? Using contentEditable is not a solution in my case. ...