PDA

View Full Version : Drop Down Menu Using Images



Sparkle
03-15-2006, 01:37 AM
I'm using a drop down menu code on this site here- http://www.dance-wagga.com/frames3.html

The actual codes for the drop down menu is on this page- http://www.dance-wagga.com/frames4.html

The drop down parts are the menu links across the top of the layout (refresh, wagga academy, the dancers, get involved, other).

When I try hovering over them, no drop menu comes down.

I was wondering if anyone knew what was happening and could fix up my code for me?

jscheuer1
03-15-2006, 06:18 AM
The main problem is that there is no such file:

http://www.dance-wagga.com/drop_down.js

as referenced on the frames4.html here:


<script type="text/javascript" src="drop_down.js"></script>

Sparkle
03-15-2006, 06:20 AM
ok...and what has to be in that file?

jscheuer1
03-15-2006, 06:24 AM
The javascript code for the menu. What made you decide to put:


<script type="text/javascript" src="drop_down.js"></script>

on your page in the first place?

Sparkle
03-15-2006, 06:30 AM
I got the code from a friend who has this site- http://rexangel.com/Layout.html

I have the file anylink.js so should I replace the drop_down.js with that one?

It also seems to work until I hold my mouse over the 'refresh' image...

jscheuer1
03-15-2006, 06:48 AM
What I'm not sure if you understand is that simply putting:


<script type="text/javascript" src="drop_down.js"></script>

or:


<script type="text/javascript" src="anylink.js"></script>

on your page will, in itself, do nothing. The file referred to in the src= attribute must exist on your server. And the markup on your page must correctly make use of it. For a full explanation of how to install and use alnylink.js see:

AnyLink CSS Menu (http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm)

Sparkle
03-15-2006, 06:49 AM
ok I'll check that out. Thanks. And sorry, I'm not all that good at all of this yet..