homepage Welcome to WebmasterWorld Guest from 54.196.200.0
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Drop down menu js appearing in different locations
anthonyl




msg:1472218
 1:18 pm on Aug 12, 2003 (gmt 0)

Hi,
I have some standard javascript that onmouseover, drops down a menu. I have placed the coordinates of where this menu is to appear on the page, however, if I open the page in Mozilla or Netscape, the drop down menu does not appear in the same place (directly under the image selected).
Using IE6.0 as the test browser it puts it in the correct place.
Any thoughts?

 

korkus2000




msg:1472219
 5:35 pm on Aug 12, 2003 (gmt 0)

Netscape and IE have different coordinates. You need to test for those and use what will work for each browser.

tedster




msg:1472220
 5:37 pm on Aug 12, 2003 (gmt 0)

This probably has to do with the way the divs are positioned and nested. It's very possible that your positioning depends on something non-standard that IE does. But without any code, it's hard to tell.

How about giving us some short sections of the code - just:

1. What DTD you are using
2. CSS for the divs involved - only the positioning rules
3. HTML snippet (again, just enough to show the structure)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved