Click to See Complete Forum and Search --> : Help with this site


ashers
05-17-2004, 08:57 AM
Hi,

I've recently built this website, but recently view it using firefox, and the positioning is all out, it looks fine on IE.

Any help would be greatly appreciated.

Thanks

Fang
05-17-2004, 09:39 AM
This is a JavaScript question.
The script for displaying the menu is designed for Internet Explorer.
For example; in topnavbar.htm there is this function:
function loaddiv(css,div)
{
document.getElementById('Tab_1').className = css;
document.all[div].style.visibility='visible';
}
The second line only works in IE, Mozilla throws an error and halts execution.
You could try changing all similar lines in all pages from:
document.all[div].style.visibility='visible';
to:
document.getElementById(div).style.visibility='visible';
Backup all relevant files before doing this. It's a brute force solution that may work, but don't count on it.