By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

Javascript drop down menus

P: n/a
I seem to be having a bit of difficulty with a javascript drop down
menu.

The line variable,
var TargetLoc='ddmenu'; ,does not work in Netscape version 4?

If I take out 'ddmenu' and just declare the variables to start top and
start left I have no problem displaying it in both IE 5 + and Netscape
4 +. Although it does not line up the same in IE and Netscape.

Var TargetLoc='ddmenu'; // Does Netscape not read this variable
Thanks in advance,
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Lee <RE**************@cox.net> wrote in message news:<bd*********@drn.newsguy.com>...
te*******@shaw.ca said:

I seem to be having a bit of difficulty with a javascript drop down
menu.

The line variable,
var TargetLoc='ddmenu'; ,does not work in Netscape version 4?

If I take out 'ddmenu' and just declare the variables to start top and
start left I have no problem displaying it in both IE 5 + and Netscape
4 +. Although it does not line up the same in IE and Netscape.

Var TargetLoc='ddmenu'; // Does Netscape not read this variable


The lines:

Var TargetLoc='ddmenu';
and:
var TargetLoc='ddmenu';

are different in a very important way.


Sorry that was a Cap typo, should read 'var'
I know the problem is related to the DDmenu being placed in a table
<table> as opposed to a layer <DIV> tag. Once I placed it into a layer
<DIV> it has worked fne although it, does not always line up right in
Netscape at least it now shows, Thanks.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.