Click to See Complete Forum and Search --> : Layer Menu in Netscape 4
Rick Yager
08-04-2003, 11:17 PM
I am desperately looking for assistance in solving a problem I'm having with a navigation menu I've constructed using a series of layers. As you roll over a link, it makes the corresponding layer visible.
For reference, the page is located at www.kishwaukeecollege.edu/~ryager/
The menu works great in all browsers except Netscape 4.x. I've tried many suggested fixes (such as moving the inline styles to the <head>, trying the Netscape <layer> tag, etc.). But for some reason all but the first layer show up visible (though signified as hidden) and run down the page below the main layout table. The first layer listed works fine, regardless of which layer I list in that first <div> tag.
I would sincerely appreciate any help that you may offer.
gil davis
08-05-2003, 08:19 AM
Something is broken, but I have not been able to spot it. Although you have several DIVs in the HTML that are declared "position: absolute", there is only one LAYER listed in the View|Page Info data. Perhaps NS 4 does not like something about having a style assigned a an ID and a CLASS on the same object. There are no apparent HTML or JS errors in the page.
I would suggest you simplify the page for the purposes of trouble-shooting. Start by changing the visibility to visible and the locations so they don't overlap (so you can see them immediately) and create the DIVs with just some text rather than the tables and images. Then see if all the DIVs show up. If they don't, remove one style attribute at a time until they do. If they do, then perhaps the page is too complex or something else weird.
It will be easier to trouble-shoot if you place all the styles in the test page until you get the right combination.
Rick Yager
08-05-2003, 08:37 PM
Thanks for the input Gil.
I've actually been experimenting with removing the Class from the <DIV> tag.
Still to no avail.
I'm going to start reconstructing the layers from scratch and use some of your tips to try and figure it out.
Thanks for letting me know I'm not crazy because I couldn't figure out what was wrong.
Let me know if you think of anything else.
Take Care,
Rick
Rick Yager
08-05-2003, 10:56 PM
I've had a small breakthrough/realization with this problem and was wondering if anyone had any idea why this happens.
I have the layer swapping working perfectly with simple text place holders in each layer. I then insert the table that will hold the submenu links, and everything still looks great.
Unfortunately, as soon as I enter any text in the table that is formatted with CSS, it breaks the entire layer format. The style I'm using simply sets the text size and color, nothing special.
Does Netscape 4.x have a history of problems with CSS?
Any input would be appreciated. Otherwise graphic buttons it is.
Thanks,
Rick