firefox « iframe « Javascript HTML CSS Q&A

Home
Javascript HTML CSS Q&A
1.animation
2.audio
3.background
4.browser
5.button
6.canvas
7.checkbox
8.Cookie
9.Development
10.DIV
11.dom
12.dropdown
13.editor
14.element
15.Event
16.Firefox
17.flash
18.font
19.Form
20.frame
21.hide
22.hyperlink
23.IE
24.iframe
25.image
26.innerHTML
27.json
28.layout
29.Library
30.localStorage
31.Menu
32.mobile
33.onclick
34.popup
35.Render
36.scroll
37.scrollbar
38.svg
39.tab
40.table
41.tag
42.text
43.TextArea
44.TextBox
45.validation
46.video
47.window
48.xml
Javascript HTML CSS Q&A » iframe » firefox 

1. Get & set caret position in contentEditable iframe (Firefox)    stackoverflow.com

I've successfully done this for IE7. FF, no dice. any ideas? Thanks!

2. Getting JavaScript exception happening in iframe surface    stackoverflow.com

Here is the situation:

  • A page (iframe.html) has an iframe loading another page (iframe-content.html).
  • An JavaScript error might happen when iframe-content.html is loaded in the iframe.
  • I'd like that exception to be visible to ...

3. Firefox not able to find iframe    stackoverflow.com

This is the iframe I'm trying to access:

 <div class="mceBody" id="additionalTxt_b">
        <iframe frameborder="0" id="additionalTxt_f" src='javascript:""' class="punymce"/>
 </div>
Using this line:
frames['additionalTxt_f'].document.getElementsByTagName("body")[0].innerHTML
For some reason I'm getting "frames.additionalTxt_f ...

4. firefox iframe history    stackoverflow.com

In a web app we use IFRAME to let users select items for the parent page. The problem is that FIREFOX (3.5) adds a copy of the same (parent) page to history ...

5. IFrame content swapping bug?    stackoverflow.com

I have a web page with a number of iframes, including 3rd party iframes like ad sense and various sharing buttons. In Firefox, I've noticed that occasionally the content of these ...

6. Iframe designmode in Firefox problem    stackoverflow.com

This works in IE, but in firefox it's very strange: If open it normally if firefox, the designmode doesn't work but if i put a breakpoint on

this.editor.contentWindow.document.designMode = ...

7. Firefox strange behaviour when working with javascript on an iframe    stackoverflow.com

i've met a strange behaviour in Firefox with this simple script:

    <html>
      <head>
        <script type="text/javascript">
  ...

8. Resizing iframe? - Webkit or Firefox    stackoverflow.com

is it possible the proportions within an iframe? e.g. 100%, 50%, 25%, ... I would like to implement a "magnifying glass" for a webpage or iframe. It does not have to be ...

9. How to get notified about IFRAME appended dynamically and loaded?    stackoverflow.com

I need to add an ability to a Firefox extension to handle cases when IFRAME elements are being added dynamically. Is there a way to get notified when IFRAME document is ...

10. iframe loading from resource file    stackoverflow.com

I am creating a Firefox extension and trying to load an iframe with the following characteristic. <iframe src="resource://html/iframe_src.html"></iframe> The permissions are set so that resource://html/iframe_src.html displays the correct content. I don't know ...

11. How to get the Iframes height in firefox    stackoverflow.com

How can we get the height of a iframe using javascript from within the iframe in firefox. I have tried using window.innerHeight, but is returning the total window height I need the height ...

12. Cannot change iFrame content in Firefox 4/IE    stackoverflow.com

I have the following code:

<html>
<head>
</head>
<body>
    <script type="text/javascript">
        var frame = document.createElement('iframe');
        frame.id = 'myFrame';
 ...

13. How to call iframe's JS-functions from Firefox extension?    stackoverflow.com

my Firefox extension appends iframe to a webpage, then it needs to fill some form in it and call JavaScript function (defined in this iframe) which prepares it for submit. I ...

14. The JS load order in Firefox when using iframe    stackoverflow.com

Hi: I have a page which use the iframe tag: Default.aspx:

xxxx
<iframe src="sub.aspx" xxx />
And in the sub.aspx I load some js:
<script xxx>menu.js</script>
<script xxx>search.js</script>
<script xxx>funct.js</script>
And in the body of the sub.aspx,I use:
<body onload="init()"xxxx >
The ...

15. firefox 4 - comet iframe, pushes(javascript) are not executed correctly    stackoverflow.com

I have an application that uses forever iframe(comet), this is working fine in firefox 3.6. But in firefox 4, pushes(javascript code that is sent from server) are not executed properly means ...

16. How to filter out iframes in a Firefox Jetpack extension?    stackoverflow.com

The main problem is that my extension is loading into every iframes on a target webpage. It puts buttons that appear inside the iframes as well. I want them to disappear. ...

17. FF - Iframe in contentEditable are not loading javascript    stackoverflow.com

I'm currently trying to put together a rich text editor that includes widgets from a different location then the site the rich text editor is on. I'm doing this by providing ...

18. Javascript history.back() not working after coming from iframes in Firefox    stackoverflow.com

What is the solution for above scenario. It only happens in firefox when you open a iframe from the page which has the back button. Then when you click back it ...

19. Parent iframe with FireFox doesn't work?    stackoverflow.com

I'm trying to change de value of an input variable (located in the parent or main window) from an iframe. It works fine in IE8, Chrome or Safari, but not in ...

22. call function inside iframe on Firefox    codingforums.com

23. Replacing part of an iframe src url for Firefox    codingforums.com

I'm trying to remove the code in the src url of an iframe for Firefox (because of an issue on a particular server). I'm not a Javascript expert so I've tried the below code and it doesn't work, any ideas?. Thanks in advance. Code: ...

24. Javascript, Dynamic iFrame and Firefox    codingforums.com

25. IFrame Cross Domain Communication - FireFox?    bytes.com

Hello Can anyone here please guide me with the Cross Domain Communication between IFrames. Problem: Application1 running on IIS => http://localhost.ad.local/Applicaiton1 Application2 running on Apache => http://localhost.ad.local:8080/Application2 The Application2 is being loaded in an IFrame inside Application1; and there needed a communication beetween the two Applications. With IE my application works but with FireFox it doesnt. I have tried with several ...

26. Dynamic iframe height in Firefox    forums.devshed.com

I've come across a problem when I try to dynamically set the height of an iframe based off the content inside. I have the following code in a small test case: Code: I make an empty iframe, fill ...

27. Doctype messing with expandable iframe in firefox    forums.devshed.com

when i use an xhtml doctype, the expandable iframe on a page doesnt work with firefox. it will work with ie 6,7. heres a sample code: function adjustIFrameHeight() { try { //find the height of the internal page var theHeight = document.getElementById('myframe').contentWindow.document.body.scrollHeight; //change the height of the iframe document.getElementById('myframe').style.height = theHeight + 20; } catch(e) { //alert("error"); } scroll(0, 0); } ...

28. the Iframe mystery in firefox    devnetwork.net

Can anyone help with the trouble some iframe problem am having. Ihave an Iframe that displays properly in IE 7 but comes with a huge padding at the top in firefox 3.0 Here's the html: ----------------------------------------------------------------------------------

---------------------------------------------------------------------------------- Here's the css: *************************************************************** #example ...

29. iframe with firefox    devnetwork.net

31. Changing src of iframes in Firefox    sitepoint.com

Hello, I have a problem at my site. My javascript function for changing src of iframe does work in Opera, but it doesnt work in firefox or IE. Can anybody help me out, please? I tried several ways, and now i have no other way, just ask. function showMap(srcs, ine, ind, link){ if(document.getElementById(ind).style.display == 'table-row'){ document.getElementById(ind).style.visibility = 'hidden'; document.getElementById(ind).style.display = 'none'; ...

34. Iframe - javascript - firefox    sitepoint.com

hi, there are two links, thumb and list. where user clicks on thumb, iframe will load thumb.php. if user click on list, iframe will load list.php. i am trying to set the "src" attribute of an iframe using following code: document.getElementById('filemanager').src = 'thumb.php'; this javascript code works fine in IE but not in FF. how to set the scr attribute of ...

35. Problem with IFRAME in Firefox and IE    sitepoint.com

36. iframe problem with firefox    sitepoint.com

37. editable iframe hanging in firefox    sitepoint.com

editable iframe hanging in firefox I've been trying to figure out how to use and tweak this code for an editable iframe textarea editor. It seems to work flawlessly in IE6. However, when I open the page in firefox 1.5.0.2, it tries to load continuously. You have to hit the "stop" button in the browser to get it to stop trying ...

38. scrollBy of