SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Sep 27, 2002, 12:41 #1
- Join Date
- Sep 2002
- Posts
- 18
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Need Help with Menu Script-->Make It Vertical??
Hello, I was looking at the script at this website...
http://javascript.internet.com/navig...-in-menu.html#
Does anyone know if its possible to make it so the menu slides in and out vertically instead of horizontally?
If so, what changes would need to be done to the script?
Thanks for looking (& helping)
-
Sep 27, 2002, 17:38 #2
- Join Date
- Nov 2001
- Location
- London, UK
- Posts
- 502
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes,
change the <br> to a space or " | " (pipe) in the code below:
Code:<div id="menuShow"> <a href="#" onClick="moveOffMenu();moveOnSelector()"> <img src="icon.gif" width="28" height="28" border="0"></a> <br> <br> <a href="http://www.codelifter.com">Menu Item A</a><br> <a href="http://www.codelifter.com">Menu Item B</a><br> <a href="http://www.codelifter.com">Menu Item C</a><br> <br> <a href="http://www.codelifter.com">Menu Item D</a><br> <a href="http://www.codelifter.com">Menu Item E</a><br> <br> <a href="http://www.codelifter.com">Menu Item F</a><br> <a href="http://www.codelifter.com">Menu Item G</a><br> <a href="http://www.codelifter.com">Menu Item H</a><br> </div>
Code:<div id="menuShow"> <a href="#" onClick="moveOffMenu();moveOnSelector()"> <img src="icon.gif" width="28" height="28" border="0"></a> <a href="http://www.codelifter.com">Menu Item A</a> <a href="http://www.codelifter.com">Menu Item B</a> <a href="http://www.codelifter.com">Menu Item C</a> <a href="http://www.codelifter.com">Menu Item D</a> <a href="http://www.codelifter.com">Menu Item E</a> <a href="http://www.codelifter.com">Menu Item F</a> <a href="http://www.codelifter.com">Menu Item G</a> <a href="http://www.codelifter.com">Menu Item H</a> </div>
Code:<div id="menuShow"> <a href="#" onClick="moveOffMenu();moveOnSelector()"> <img src="icon.gif" width="28" height="28" border="0"></a> | <a href="http://www.codelifter.com">Menu Item A</a> | <a href="http://www.codelifter.com">Menu Item B</a> | <a href="http://www.codelifter.com">Menu Item C</a> | <a href="http://www.codelifter.com">Menu Item D</a> | <a href="http://www.codelifter.com">Menu Item E</a> | <a href="http://www.codelifter.com">Menu Item F</a> | <a href="http://www.codelifter.com">Menu Item G</a> | <a href="http://www.codelifter.com">Menu Item H</a> | </div>
-
Sep 28, 2002, 08:13 #3
- Join Date
- Sep 2002
- Posts
- 18
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
still won't work
I tried that, but it makes the menu 1 long horizontal menu that still slides in/out to the left. I need the menu to slide in from the top or bottom (go up & down), if thats possible. Did I do something wrong when I copied the script that you changed? I just pasted it over the older script for the <div id="menuShow">.
-
Sep 28, 2002, 19:22 #4
- Join Date
- Nov 2001
- Location
- London, UK
- Posts
- 502
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
OK, in that case I cant really help here much I am really busy thesedays. I am sorry, I dont have time time rewrite somebody else' script.
may be contact the person wrote the script.
-
Sep 30, 2002, 06:05 #5
- Join Date
- Sep 2002
- Posts
- 18
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks for your help anyway
Bookmarks