CSS, Javascript, and Netscape

R

Robb B

I have a horizontal navigation menubar with five links. It is built with CSS
inline style. Below it is a horizontal submenu bar. Each submenu bar
initially is visibility: hidden, and when the user moves the mouse over the
main level menu item, I wrote javascript telling the browser to display the
appropriate submenu. The menu works great in IE but the submenus never become
visible in Netscape. I like this menu style because it is similar to the
two-tiered flash menus, but it doesn't use flash, allowing for much quicker
page loading. Any suggestions?

The site is at www.cbcwichita.org/testpage.shtml.

Here's a sample of the code for one menu item:

function showabout()
{
librarynav.style.visibility='hidden';
aboutusnav.style.visibility='visible';
radionav.style.visibility='hidden';
contactnav.style.visibility='hidden';

}
Thanks,
Robb
 
R

Robb B

In Netscape 7.2 I get the error (javascript error) that librarynav is not
defined. Yet in other browsers it works fine, and none of the other submenus
are undefined. Any suggestions?
 
S

Stefan B Rusynko

I don't get a script error in NN71., but I also don't get your DHTML menu

PS
I do get a file not found for your top image in IE & NN
http://www.cbcwichita.org/images/Cal_top8.gif




| In Netscape 7.2 I get the error (javascript error) that librarynav is not
| defined. Yet in other browsers it works fine, and none of the other submenus
| are undefined. Any suggestions?
|
| "Murray" wrote:
|
| > I see no problem in FF1 (which is Netscape with a different coat).
| >
| > --
| > Murray
| >
| > | > >I have a horizontal navigation menubar with five links. It is built with
| > >CSS
| > > inline style. Below it is a horizontal submenu bar. Each submenu bar
| > > initially is visibility: hidden, and when the user moves the mouse over
| > > the
| > > main level menu item, I wrote javascript telling the browser to display
| > > the
| > > appropriate submenu. The menu works great in IE but the submenus never
| > > become
| > > visible in Netscape. I like this menu style because it is similar to the
| > > two-tiered flash menus, but it doesn't use flash, allowing for much
| > > quicker
| > > page loading. Any suggestions?
| > >
| > > The site is at www.cbcwichita.org/testpage.shtml.
| > >
| > > Here's a sample of the code for one menu item:
| > >
| > > function showabout()
| > > {
| > > librarynav.style.visibility='hidden';
| > > aboutusnav.style.visibility='visible';
| > > radionav.style.visibility='hidden';
| > > contactnav.style.visibility='hidden';
| > >
| > > }
| > > Thanks,
| > > Robb
| >
| >
| >
 
M

Murray

Yes - I get the missing image too. In addition, I get the menu and no error
in Firefox1, and I get NO menu and no error in NN7.1.

There would really be no compelling reason not to rip this menu out and
rebuild it in FP with simple show/hide layer behaviors.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top