PDA

View Full Version : Slashdot Menu - novice in need of help



SilverWolf
10-03-2007, 07:59 PM
1) Script Title: Slashdot Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

3) Describe problem: So I have added this menu to my sight and I have costomized easly enough.

http://i36.photobucket.com/albums/e47/trishagj/help/Image1.gif

my problem is where do I put the "sdmenu.js"? I'm self taught on the computer and still need help from time to time especially when trying something new. Any help would be appreciated.

boogyman
10-03-2007, 08:17 PM
you can put it where-ever you want on your server, but usually most people like to keep their scripts in 1 folder. then for every page that is using this menu you put the following in your <head> tags


<script type="text/javascript" src="/path/to/sdmenu.js"></script>

SilverWolf
10-03-2007, 09:08 PM
Ok so I entered it as thus... and I get no action, the menu remains expanded.


<script type="text/javascript" src="/public_html/pixel2/scripts/sdmenu.js"></script>
<title>Slashdot's Menu</title>
<link rel="stylesheet" type="text/css" href="menufiles/menu.css">
<!--[if IE]><link rel="stylesheet" type="text/css" href="menufiles/menuie.css"><![endif]-->
<script type="text/javascript" src="menufiles/menu.js"></script>