iframe

Google Docs in iframe AND Save & Close button

Hello, I am using Google Docs in my project using its API. I am loading docs in modal window iframe using http://fancybox.net/ a jquery plugin It works fine but when in Google Docs Save and Close button is press, it closes the iframe and redirects the current page to Google Docs, So is there any way I can prevent the redirection to Go...

Filling an IFRAME with dynamic content from JavaScript

I have an IFRAME that should be filled with content from JavaScript. Had the content be on the server all I had to do is: function onIFrameFill() { myIframe.location.href = "HelloWorld.html"; } But the content I have is a HTML page generated on the client and represented as a string (I have not much influence on it)....

How remove iFrame from wordpress admin panel?

Hello, guys. I've some problem with iframe at the WordPress admin panel. Can you tell how to remove it? and how to secure WordPress with similar problems? ...

Tiny MCE - set full-screen when editor is loaded?

I use tiny_mce as word-like editor in textareas that are in iframes. I want to use whole iframe space. TinyMCE has a fullscreen button, but I need to set full-screen mode automatically when plugin has loaded. Is there a function/trigger to call this mode (or the button)? Thanks for help. ...

Get url from iframe and update hash in browser url

I've tried a few different things but nothing really worked, basically i need to get the current location/url from the iframe, get the part i want and return it to the hash in the url. how can i do this in javascript? ...

iFrame isolation

Just a thought, but would using an IFRAME over a DIV essentially make that element isolated from the window in a way that slow scripts running in the IFRAME wouldn't affect the other frames/window? ...

download file in iframe in IE

in a webpage I have a link to let the user download file, such as, "showfile.aspx?filename=xxx" in showfile.aspx, I send the file using Response.OutputStream.Write method. now I get some problem when somebody put this webpage in an IFrame and open in IE, as I checked the code, showfile.aspx is requested twice when clicks the link,...

Knowing if a script is called from an iframe on another host in PHP (hopefuly without Javascript)

I want to identify if a PHP script is being called inside an iframe of a different host. I could resort to using Javascript for that, but I'd like to find a JS-free solution first. Right now I'm using this logic: If $_SERVER['HTTP_HOST'] is not equal to the host name of $_SERVER['HTTP_REFERER'] And $_SERVER['REDIRECT_STATUS'] is de...

Replacing IFrame with div

I have a IFrame where I load in a custom search, and display the results within the iframe. The search results I obtain by calling an external url, that returns a value. I need to implement the same thing for a mobi site that works on mobile devices, and thus I need to replace the IFrame with something else. Will this be possible using a...

Loading form values from one IFrame to another

What I want to achieve is the following. A search is made from one IFrame "the form is loaded into this frame via the src atribute of iframe" the search query is then passed to another IFrame that redirects to a url with the query eg. www.test.com/index.php?query=test Is this possible? Currently my code looks as such <iframe src="abc....

Add dynamical elements in a Iframe element than i create

Hi, i have a litle problem if i create a dynamically IFRAME element and i agregate dynamically elements to the new iframe. It works If i do that: var miiframe=document.getElementById("miiframe"); var myElement=content.document.createElement("LABEL"); myElement.innerHTML="blabla"; miiframe.contentDocument.body.appendChild(myElement); b...

iframe.document.body.scrollHeight is double the correct value

<iframe name="asdf" id="asdf" onload="change_height(this)" src="asdf.jsp" width="250" scrolling="no" frameborder="0"></iframe> function change_height(iframe) { if (document.all) { // IE. ieheight = iframe.document.body.scrollHeight; iframe.style.height = ieheight; ...

new Facebook Like button for Blogger

I want to add the new facebook like button to my blogger website. http://developers.facebook.com/docs/reference/plugins/like I have to pass the url to the blog posts in the iframe src tag. I can get the blogger posts url from <data:post.url/> but I can't put that in a src string because Bloggers template system is weird. I want to do t...

Https and Frames. Is connection encrypted?

Hello all. If I have a frame embedded into a html page. The page connects through http. My question is: If my frame connects through https is the connection and everything still encrypted despite the fact that the container page connects through http? UPDATE: Thank you everyone. So it is encrypted :) ...

Javascript and same origin iframes

Is it possible to read/edit iframe contents(not only properties like src) with scripts that are on page but outside of this frame? I know that is impossible if source is from other site as it would be a big serurity hole, but I only ask whether it works for other content from the same origin. ...

Form submit to target iframe only works once

I'm having a really irritating problem doing something that I'm sure I've done before. The setup is this: There's a form which is submitted via a "click" handler on a button, though the submit is ultimately a simple call to the form's native submit() function. The form's target is an iframe, which is initially filled with an empty page...

Refresh Page When Inside Iframe Clicked HTML/JS/PHP

Hi, I have an iframe loading some content, and I would like it so that when anything inside the iframe is clicked (a new window pops up) but I would also like it so that the page displaying the iframe reloads, is there any way to do this without modifying anything inside the iframe? ...

Is it a bad idea to have a login dialog inside an iframe?

We're creating a website where we will be giving out code snippets to our users which they can place on their own websites. These snippets contain a link a javascript include. When clicking the link, an iframe containing the login dialog to our site opens. The user then authenticates inside the iframe, does his work and when he leaves th...

How to construct a URL to open a iframe window with jQuery fancybox plugin (lightbox)

Hello, In my web site there is home page, and all other pages open using fancybox window - with iframe. I want to be able to construct a URL like www.example.org/About.html which will send the user to my website and will open the iframed page {About.html} within the fancybox window. Thanks for help. ...

Passing Variable or Something to Iframe Parent PHP/JS/Html

Alright, well this is the deal. I have a page, and then it loads an iframe. When anything inside the iframe is clicked, the main page (iframe parent) just reloads. How can I have it, so that if the iframe parent is reloaded from a click inside the iframe that a certain boolean or something is passed, displaying something different. F...