Rules :-
All sizes need to be quoted in pixels, percent etc. e.g. "padding-left: 8px;"
All hex colours should have a hash symbol preceding them e.g. background-color: #30308F;
CSS - Cascading Style Sheets
- firestorm_al
- Site Admin
- Posts: 756
- Joined: Mon May 20, 2002 9:56 am
- Location: Aberdeen (Scotland - UK)
- Contact:
- firestorm996
- Posts: 617
- Joined: Tue Jul 16, 2002 10:15 am
- Location: Oop North
- Contact:
- firestorm_al
- Site Admin
- Posts: 756
- Joined: Mon May 20, 2002 9:56 am
- Location: Aberdeen (Scotland - UK)
- Contact:
- firestorm996
- Posts: 617
- Joined: Tue Jul 16, 2002 10:15 am
- Location: Oop North
- Contact:
- firestorm_al
- Site Admin
- Posts: 756
- Joined: Mon May 20, 2002 9:56 am
- Location: Aberdeen (Scotland - UK)
- Contact:
Neil, Try commenting out the small section that tests for layers on the top of the .js file. The header and the index page should be able to be displayed then.
The problem will then be that the roll over menus will not be displayed in netscape. This is due to the code using the fillowing two lines:
document.onmouseover = document_onmouseover;
document.onmouseout = document_onmouseout;
Netscape does not support the document.onmouseover of document.onmouseout propertys.
See the following site for browser compatibility with JavaScript :-
http://developer.netscape.com/evangelis ... nt-object/
The problem will then be that the roll over menus will not be displayed in netscape. This is due to the code using the fillowing two lines:
document.onmouseover = document_onmouseover;
document.onmouseout = document_onmouseout;
Netscape does not support the document.onmouseover of document.onmouseout propertys.
See the following site for browser compatibility with JavaScript :-
http://developer.netscape.com/evangelis ... nt-object/
- firestorm996
- Posts: 617
- Joined: Tue Jul 16, 2002 10:15 am
- Location: Oop North
- Contact:
- firestorm_al
- Site Admin
- Posts: 756
- Joined: Mon May 20, 2002 9:56 am
- Location: Aberdeen (Scotland - UK)
- Contact:
I've had a sift through the code. It seems that you can't change the properties of style sheet elements in Netscape while the page is being displayed. Your code works by changing the values of the left and top absolute positions of the menu boxes "on the fly".
Have a looks around http://www.dynamicdrive.com to see if they have any suitable replacements that may work on all browsers.
I'll e-malil you a copy of the index page with full HTML tags.
Al.
Have a looks around http://www.dynamicdrive.com to see if they have any suitable replacements that may work on all browsers.
I'll e-malil you a copy of the index page with full HTML tags.
Al.
- firestorm996
- Posts: 617
- Joined: Tue Jul 16, 2002 10:15 am
- Location: Oop North
- Contact: