I had originally posted the source code, but I thought it better to just upload a copy of the page to my website that can not be accessed without directly typing in the link.
Test Page:
http://www.angelfire.com/nj4/ihmhi/home3.html
I did manage to find an element in the code that was related to Firefox:
Code:
var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 0 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
I changed it thusly, so the iFrame on the right side would have enough length:
Code:
var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 2000 : 2000 //extra height in px to add to iframe in FireFox 1.0+ browsers
(I have bolded the portion of the code that I have changed in both instances of it that I have shown here.)
Now, however, some problems stille exist:
- There is a horizontal scroller on the right side iFrame.
- The bottom iFrame and the right side iFrame are apparantly subject to the same values, so although the right side iFrame has a generous amount of length, the left side iFrame extends the page too far at the bottom.
Since I have the feeling that I will not be able to have both iFrames in here, I was wondering if there was anything else I could do as a substitute? I want to use something similar so I can load the menu on the left (not yet implemented in this version), the menu on the right (iFrame "rightsidemenu"), and the menu on the bottom (iFrame "bottommenu"). By the time my updates are done, I will have nearly 30 pages on my website, and I am not going to make these updates without having a way to update my menus (on the left, right, and bottom) at the same time. I need this, otherwise making changes to my website will be far too difficult.
If you can not help me figure out how to make this work with the current script, than an alternative would be much appreciated. And please, assume my ignorance on the subject and go into as much detail as possible.
Bookmarks