Все вопросы: [iframe]

543 вопросов

12
голосов
3ответов
6885 просмотров

Google chrome onbeforeunload wrong behavior with iframe

Let say I have two pages. One of them contains another one inside as iframe. If you subscribe to onbeforeunload event on the parent page, then this event doesn't triggers if you close tab when iframe is in focus. I suppose it is a bug as written here: Google Chrome issues But I mentioned that, ...

61
голосов
8ответов
157964 просмотров

Calling javascript function in iframe

I have problem calling a JavaScript function in an iframe from the parent page. Here is my two pages: mainPage.html <html> <head> <title>MainPage</title> <script type="text/javascript"> function Reset() { if (document.all.result...

1
голосов
1ответов
411 просмотров

How to place a Transparent Flash over site and keep underlying site usable (focus, clicks, formes submitting...etc)

We are trying to place a flash with transparency that covers an iframe. The iframe will load any external website. Is there a way to setup the page so the flash is shown but the underlying site is still usable (focus, clicks, formes submitting...etc).

46
голосов
3ответов
37875 просмотров

Why does appending a <script> to a dynamically created <iframe> seem to run the script in the parent page?</script>

I'm attempting to create an using JavaScript, then append a t this be inside the &amp;lt;iframe&amp;gt;?&lt;/p&gt;'; $('body').append(test); }); One thing that seems unusual is that the the code in iframe_test.js even works; I haven't loaded jQuery in the itself, only in the parent document...

1
голосов
1ответов
739 просмотров

Controls bleeding within iframe on scroll in IE6

I have content in an iframe, and when I scroll the main page (outside of the iframe), I get weird artifacts inside of the iframe, from the select and flash controls, in IE6. How it should look (and does look in IE6 before scrolling the outer page): How it looks after scrolling the outer page in...

13
голосов
10ответов
39214 просмотров

Delay load of iframe?

I know there are some tools and techniques for delaying the load of javascript, but I have an iframe that I would like to delay loading until after the rest of the page has finished downloading and rendering (the iframe is in a hidden that will not be revealed until someone clicks on a particula...

1
голосов
2ответов
1538 просмотров

Threading for iframe elements in IE

Of the following, which are not run in the same thread as the current page in IE8? An iframe with the same domain as the current page. An iframe with a sub-domain of the current page's domain. An iframe with a super-domain of the current page's domain. An iframe with a completely different doma...

1
голосов
2ответов
4293 просмотров

Reloading or redirecting the parent from a child iframe in safari

I am generating an iFrame that following some processing with the frame (from an external site) redirects back to my domain (within the iframe), which should then reload the parent frame. However I've tried multiple ways of calling the parent, but none of them seem to work in safari? methods use...

1
голосов
2ответов
4140 просмотров

jQuery - Trying to select element from iFrame (point and click)

I'm trying to get the id and element name from the HTML tags. This code works: jQuery(document).ready(function(){ $("*", document.body).mousemove(function(e){ $('#mpos').html(e.pageX +', '+ e.pageY); e.stopPropagation(); var domEl = $(this).get(0); $('#elem').html(dom...

10
голосов
5ответов
27438 просмотров

How do I refer to the document object of an <iframe> from the parent page, using jQuery?</iframe>

I'm trying to access the document object of a page that lives in an from the host page. In other words, I have a page that has an in it, and I want to use jQuery on that page (the parent page) to access the document object of that . Specifically, I'm trying to find the height of the d document...

6
голосов
5ответов
24764 просмотров

get iframe page title from javascript using jquery

How to get iframe src page title and then set main page title

4
голосов
1ответов
4536 просмотров

file:/// to http:// communication via IFrame

Maybe some of you could have ran into the same problem i did. Imagine you have a file on your machine: file:///c:\test.html And you have an IFrame inside of this file. You need to indicate whether the IFrame contents are loaded or no. Bacically, what we have here: 1. location, href, or any oth...

2
голосов
5ответов
21309 просмотров

submit form data into iframe via post [file upload]

UGH. Hi. I have a form. I'd like to know how/if I could submit this form to an iFrame that has the page that will handle the file upload/naming. If I try even something simple like post an input/text to the form, nothing happens (the handler is set to echo the $_POST). I have tried setting the...

5
голосов
2ответов
16116 просмотров

overlay html over flash?

Possible Duplicate: Div Z-Index issue with Flash movie Is it possible to overlay a piece of html over a flash animation given this context: -flash contents underneath is NOT clickable -html will contain js link clicking which will open an iframe popup similar to: http://www.dynamic-to...

430
голосов
7ответов
285922 просмотров

Can I use multiple versions of jQuery on the same page?

A project I'm working on requires the use of jQuery on customers' Web pages. Customers will insert a chunk of code that we'll supply which includes a few &lt;script&gt; elements that build a widget in a &lt;script&gt;-created &lt;iframe&gt;. If they aren't already using the latest version of jQue...

0
голосов
1ответов
150 просмотров

why does a site loaded in an iframe not recognize that i am logged in to that site in another tab?

I am logged into a phpBB site in a Firefox tab. On my site I load the same phpBB site in an iframe in another tab of Firefox. When I load the iframe it takes me to the login page. If I open the phpBB site again in a third tab, I am still logged in. Is this because a new session ID is being i...

20
голосов
4ответов
42163 просмотров

Insert HTML into iframe

I am creating a in browser HTML editor. I am using the syntax highlighter called Code Mirror which is very good. My setup is an iframe that holds a view of the page which is being edited and a textarea which the plain text HTML sits which the user edits. I am trying to insert the edited HTML f...

0
голосов
1ответов
1849 просмотров

get value from iframe

I am building a website of yellopages in which I want to upload and display images on some pages. First, I insert the image name in to the database while uploading. I want to get the image name on the parent page. addproduct.php &lt;form action="" method="post" enctype="multipart/form-data" ...

1
голосов
1ответов
1329 просмотров

iframes and css conflicts

This is a general question about iframes. When including another full webpage within an iframe, is it possible for the "iframed" site's CSS stylesheet to conflict with the CSS for the outer document?

0
голосов
1ответов
1842 просмотров

The Facebook footer bar is an iframe, so why it doesn't it reload with the rest of the page?

I want to know how Facebook is doing their iframe footer bar. I mean, i know they have an iframe on footer, but i want to know how they are reloading pages without reloading the iframe also, 'cause the iframe always stick there even though the page does reload again. Any ideas/knowledge? EDITED:...

1
голосов
2ответов
438 просмотров

How do I refer to an <iframe>'s document using jQuery to get its height()?</iframe>

I'm trying to get the height of an d document. My first instincts were: $('iframe').document.height(); or $('iframe').contentWindow.document.height(); Those don't work, and I'm not having much luck searching. I would appreciate any help!

2
голосов
3ответов
12661 просмотров

jQuery POST request - submitting a <form> inside of an <iframe></iframe> </form>

I'm creating a quick prototype as a proof-of-concept for a bigger project. I need to create a working cross-domain POST request, and I have jQuery available. Since I'm assuming (please correct me if I'm wrong) that $.ajax() will not work because the page making the POST request lives in a differ...

1
голосов
1ответов
1107 просмотров

Img embedding problem in Struts2 jsp page

I have a page called home.jsp in my struts2 application. I have embedded a html (screencompany.html) page within this home.jsp. I am trying to embed an image within the html page. But the image is not loading. Please help me out. Im very new to struts2 and jsp. Here is the home.jsp code. &lt;if...

0
голосов
1ответов
1067 просмотров

Google site page in an iframe

I'm building a quite large Flex application as our administration tools and I need build in documentation functionality. I want this documentation to be like a wiki and as we're using Google apps I though I'd use Google sites to host the wiki pages (why reinvet the weel...). To include the wiki...

1
голосов
2ответов
1638 просмотров

Break out of framed page before load

I have a aspx page that is inside a frame. I want to redirect to a new page but before that page loads, break out of the frame. I was using this js code window.onload = TimeOutRedirect; function TimeOutRedirect() { try { if (self.parent.frames.length != 0) self.parent.location=d...

89
голосов
3ответов
206489 просмотров

How do I dynamically change the content in an iframe using jquery?

I was wondering if it is possible to have a site with an iframe and some jquery code that changes the iframe content every 30 seconds. The content is in different webpages. Something like this: &lt;html&gt; &lt;head&gt; &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt; ...

1
голосов
2ответов
1454 просмотров

call function to parent of iframe

Im sorry to ask the same question again its just nobody seems to know and i really really need the answer. Hello all, could someone PLEASE advise me on how I can activate a function once Thickbox is closed, this would be much appreciated. function tb_remove() { window.parent.pageUpdate();//...

4
голосов
2ответов
4900 просмотров

Is it advisable to load display advertising in an iframe?

Some display advertising campaigns are very JavaScript heavy and it has a jarring effect on page load time because the ad is generally inline JavaScript - the useful parts of the page doesn't render until the ad did its thing. A solution seems to be to load the ad in an iframe in order to displa...

0
голосов
3ответов
3247 просмотров

Using <object> instead of <iframe> and Internet Explorer</iframe></object>

So my problem is NOT with getting the objects to work with IE. I have a way to get rid of the borders and scrollbars (I think). The real problem is having links inside an object which target the whole screen frame. Even with target="_top" and _parent it just keeps targeting itself in IE... even i...

1
голосов
3ответов
2018 просмотров

break out of iframe

I have an iframe that displays a flash banner ad which has clickable links. Is there anyway to force the links to open in parent window, without putting JS on the page that opens or changing the flash file? For example, is there something i can do to the iFrame to force links to open in its par...