Hi all ![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)
I have an HTML page that contains an <iframe>, called "oWhizzy". This iframe contains a <div> that contains a <table>. The point is that I fill the table rows after rows, and there is a vertical scrollbar that scrolls down automatically.
With Internet Explorer, the automatic scrolldown works, but not on FireFox
Why ?
What I attempt to do is write a javascript function in the <iframe>, to scrolldown the <div> when I load the iframe. But I cannot write javascript in the iframe like follow. I don't know why ...
In the main HTML page, I write the HTML code of the iframe like that:
Thanks if you have any idea, and if it is not too confusing ...![[tongue] [tongue] [tongue]](/data/assets/smilies/tongue.gif)
![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)
I have an HTML page that contains an <iframe>, called "oWhizzy". This iframe contains a <div> that contains a <table>. The point is that I fill the table rows after rows, and there is a vertical scrollbar that scrolls down automatically.
With Internet Explorer, the automatic scrolldown works, but not on FireFox
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
What I attempt to do is write a javascript function in the <iframe>, to scrolldown the <div> when I load the iframe. But I cannot write javascript in the iframe like follow. I don't know why ...
In the main HTML page, I write the HTML code of the iframe like that:
Code:
var startHTML = "<html>\n";
startHTML += "<head>\n";
startHTML += "<script language=\"javascript\">" ---> does not work !!
...
startHTML += "</html>\n";
oWhizzy.document.open();
oWhizzy.document.write(startHTML);
oWhizzy.document.close();
Thanks if you have any idea, and if it is not too confusing ...
![[tongue] [tongue] [tongue]](/data/assets/smilies/tongue.gif)