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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using percentage doesn't seem to work in Netscape

Status
Not open for further replies.

trojan800

Programmer
Nov 27, 2001
53
US
I have some dropdown menus created with fireworks. I use percentages for the horizontal or X value, as seen in the following code:

onMouseOver="window.FW_showMenu(window.fw_menu_1,'40%',100);"
onMouseOver="window.FW_showMenu(window.fw_menu_2,'50%',100);"
etc.

Everything works great in IE, zilla and Opera but in Netscape something strange happens. The first layer of the dropdown menu opens in the correct place according to the percentage given but when you try to open the next sub menu (below the 'parent' menu that is open) the sub menu doesn’t open to the right of its parent menu. It instead opens way to the left of the screen, at the same position every time no matter what percentage is given (as if no X value were given at all). This is true for all menus no matter what their percentage is, so that all the first level menus open where they are supposed to but all their submenus open up in the exact same position on the left of the screen. To make it even stranger, if there is a third layer or sub-sub menu (or fourth, fifth, etc) they will correctly open to the right of their parent window as they are supposed to, only they will of course be placed relative to their incorrectly placed parent menu. Has anyone else seen or had a problem similar to this? Or more importantly, is there a way to directly tell the child menus where to open on the screen when they choose to ignore their parents? …this is beginning to sound a lot like my own childhood. Anyway, all help and/or suggestions are appreciated. Thanks in advance. -Rory
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top