Position relative issues with Netscape 7.0

M

Mike

I've posted a few times recently about this pop-up menu I'm working
on, but this time I have a question specifically regarding Netscape
7.0 and other NN versions.

The menu is working just fine, using absolute positioning for the
starting point and relative positioning to put each of 6 menus in the
right place. This is working perfectly for IE5.0+ and Netscape 3-4.7,
but Netscape 7.0 is showing the submenus much farther down and to the
left from where it's supposed to be.

The code is sent like this, where "2" is the field in the array that
defines the menu, and -259 is the relative "left" offset:
onMouseOver="menu(2, -259)"

As a temporary workaround for NN7.0, I added a formula of:
if (navigator.userAgent.indexOf("Netscape") >= 5) { offset = offset +
280 }

This works so-so as far as I can tell, and while I have no problem
leaving it like this, I'm afraid that I might be fixing a symptom
instead of the problem. Is it common to have to set the relative
position different for NN than anything else? If so, am I safe in just
adjusting for 6.0+?

TIA,

Mike
 

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,167
Latest member
SusanaSwan
Top