View Full Version : Menu Layout
Hi
If any one can help me please I would like to know if the menu format in the attached URL is done in HTML and how it is done/coded.
Many Thanks
Buzz
ronaldb66
10-20-2003, 11:41 AM
Supplying a link would have been easier... http://www.sustainabilityinstitute.net/
Looks like it's all been done with JavaScript.
Corey Bryant
10-20-2003, 12:27 PM
Check out:
http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm
You can find the menu & source code here.
Many thanks for your time and help Ronald and Corey.
hi
Thanks again Corey for the menu script. I have started learning and using it..if you have used it before and know abit about it can you please let me know how exactly to configure the menu at the very top of the document? I can configure it horizontally but it sits in middle of page not at the top. I have looked over variables etc and help file with example but getting nowhere!
Thanks
Corey Bryant
10-20-2003, 03:40 PM
Sure - look at the exmplmenu_var.js file.
Locate this line:
var FirstLineHorizontal=0; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
and change var FirstLineHorizontal=0 to var FirstLineHorizontal=1
Then locate:
var StartTop=240; // Menu offset x coordinate
and change var StartTop=240 to var StartTop=0 or maybe var StartTop=1 - or any other number - how many pixels down do you want it?
Then locate:
var StartLeft=1; // Menu offset y coordinate
and change var StartLeft=1 to var StartLeft=30 (or ever how many pixels you want it to start from the left.
Hi
I used a table dv id to position the menu but thanks for your post.
I need to fish out javascript books to comprehend the code but it is an awesome script! Dynamic Drive is a great site, especially for making scripts free for people to learn and use.
Thanks again
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.