Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with menu

Status
Not open for further replies.

JohannIcon

Programmer
Sep 3, 2002
440
MT
Dear All,

I have a problem with Netscape. I have a menu that is showing fine in Internet Explorer but it is not working fine in Netscape.

Here is the link :-
The problem is that with Netscape, the text is more to the bottom than in Explorer, and so the text is readable. Is there a way round it?

Thanks for your help
 
I've bothered to check your code and found the error:
Definition of functionin menucode.js is:
function cm_makeMenu(name,parent,text,link,target,width,height,<other params>)
You use in your menu.js like:
oCMenu.makeMenu('sub01','top0','<p align=center>Board Composition</p>','boardcomposition.asp','','120')
So you have 120 px height instead of width.
Change the places like:
oCMenu.makeMenu('sub01','top0','<p align=center>Board Composition</p>','boardcomposition.asp','120','')
and you will see the difference in NS also.
Success.
 
Thanks. The problem was with the height of the script. I just altered oCMenu.level[1].height=27 and it worked fine both in Netscape and in Explorer.

Thanks for your time and help!

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top