iframe

how to enable iFrame designMode in a local webpage without using the localhost server?

The code... <html> <body> <iframe id="editableFrame"></iframe> <script type="text/javascript"> editableFrame.document.designMode="on"; </script> </body> </html> gets the iFrame editable only when run off a server(http://...)(online or from localhost). How do I get this working by simply o...

Right Click Context Menu Script for iFrame

The context of the problem is related to an application which is single-page Ajax application. The layout of the page consists of three different panels (iframes) as follows: _________________________________________________ | | | Frame A | Frame C |_______...

Dynamically created iframe used to download file triggers onload with firebug but not without

EDIT: as this problem is now "solved" to the point of working, I am looking to have the information on why. For the fix, see my comment below. I have an web application which repeatedly downloads wav files dynamically (after a timeout or as instructed by the user) into an iframe in order to trigger the a default audio player to play th...

iframe an SSL secured form on a non SSL site

I have a request in from a client that would like one of their existing forms present on another website. They would like to have a payment form present in an iframe. What, if any, implications are there when iframing in an SSL website into a non-SSL website when payment processing is concerned? ...

Session in Iframe working in Firefox but not in Internet Explorer

Im trying to get a form working in Internet Explorer. I see that when i submit this form in Firefox I can start a session and send my webbrowser to the right page based on that Session. In Internet Explorer however when i'm debugging the $_SESSION i retrieve an empty array back, this means that in Internet Explorer the session isn't star...

Opening an iframe for IE while using Chrome Frame

I'm trying to use Chrome Frame for a business web application and so far things are working well. However, I need to open an iframe that should be rendered using IE's engine and not Chrome Frame's renderer. The iframe doesn't have the meta tag for Chrome Frame yet it renders with the plugin. Is there a way to open an iframe that is rend...

How can Safari be prevented from scrolling an overflow:hidden iframe?

With Safari you can disable most iframe scrolling by setting style="overflow: hidden;" on the iframe. However, if you click in the iframe and move the mouse the content scrolls anyhow. Example: <html> <body> <iframe style="width: 100%; height:100px; overflow: hidden;" scrolling="no" src="scrollcontent.html"> </iframe> </bod...

php eval function in iframe

i got an iframe in an echo: <iframe width='100%' height='100'>$content</iframe> $content = eval ( "\$bugs = \"" . gettemplate ('bugs') . "\";" ); but it doesnt work. how can i use the eval function from php to show the page in an iframe? thnx! ...

Dynamic iframe source on facebook pages

I am trying to make it easy for users of our site to deploy widgets hosted on our server on their facebook pages, as an iframe. We don't want to use coz apparently they are not allowed and wont be supported in the future [ http://is.gd/aNhUr ] Following the instructions here ( http://is.gd/aNgIU ), this is what we did : a) We creat...

reload an iFrame with the scrollbar set to a specific coordinate.

I was wondering how could I reload any website using javascript and set it in a way that when it reloads the scrollbar is looking scrolled down to a certain position. I'm unsure as to how to look for this in Google honestly so I haven't digged up much =/. I think it has to be somewhere in the instruction to reload it and so far I have: ...

Reloading iframe from another iframe

Can I reload iframe (say __tree_iframe) from another child iframe (__content_iframe)? Difficulty: IE6/7. UPDATE Obviosly I should use window.opener and find iframe using it iframes property. Apparently, IE doesn't support window.opener. Any ideas about another way? ...

Get content in iframe to use as much space as it needs

I'm trying to write a simple JavaScript based modal dialog. The JavaScript function takes the content, puts it in a new iframe and adds the iframe to the page. Works great so far, the only problem is that the content of the dialog (e.g. a table) gets wrapped, although plenty of space is available on the page. I'd like the content of the...

Making iframe's CSS completely independent from parent frame

context: I am loading an S6 slideshow from my web page inside an iframe loaded in a fancybox. The code in my parent web page is <a id='presentation' href='/my/server/my-big-presentation?iframe'> Launch presentation </a> <script type="text/javascript"> $(document).ready(function() { $("a#presentation").fancybox(); }); </script> ...

Jquery: set stylesheet to iframe?

Hi guys, I'm loading a website into an iframe. This website has all styles defined within it's headtag. However the stylesheets are not linked like tags. I want to remove all this styles of the iframe content and link my own stylesheet to it. Any ideas how i can do this? ...

Jquery (or CSS) autoresize iframe to the bottom?

Hi guys, i've no idea how i can set properties for an iframe that's positioned 300px from the top, but should reach ALWAYS the bottom! So at the moment i've set the height of the iframe to 500px. The height should dynamically change when i resize the browserwindow. The iframe should start 300px from the top and should always reach the b...

How to set document.domain for a dynamically generated IFRAME?

I am implementing CodeMirror (http://marijn.haverbeke.nl/codemirror/) on a page where document.domain needs to be declared (because of other IFRAMES on the page). CodeMirror generates a dynamic IFRAME to provide syntax highlighted code editing. The problem is that IE throws up 'Access Denied' (other browsers are fine) at the following p...

Problem linking and printing in parent iframe

I have a page with 3 iframes: Header, Pictures, and footer: The look U can see it here: http://www.pixelperu.net/iframe/iframe.jpg/iframe <script Language="javascript"> function printfile() { window.frames['pictures'].focus(); window.frames['pictures'].print(); } </script> | </head> <body> <div id="wrapper"> <div id="header"> <iframe i...

How do I open word in an IFrame without locking the document?

I am trying to open a docx document in an iframe dynamically using a asp.net hyperlink. The user should then be able to alter some content controls that are bound to a custom.xml in the document. Later on I want to extract this data using the open xml sdk. The document opens properly in the iframe and everything seems fine. However, wh...

JQuery removed background from iframe

I'm trying to remove the background image on a page that's being loaded via an iframe within a lightbox effect. I have verified that body is the correct element within the iframe that's being selected, but I can't get the background image to go away. Am I missing something obvious? var body = jQuery('#fancybox-frame').contents().find(...

Firebug and jQuery selectors in an iFrame

Hi all, I'm working on a web application and using the jQuery plug-in Colorbox to pop up a window that presents a form for editing elements of the parent window. I'm using Firebug to debug my Javascript and jQuery, and I noticed that I can't select an element in my Colorbox HTML form using the jQuery console command line. For instance: ...