Page 1 of 1

SubLinks to Links - on same page

Posted: Sat Mar 14, 2009 1:08 pm
by Cheyenne

This is a long page to scroll down. I want to attach the different categories ie Good....., Hello.....,Hugs & Have A ....Day, Days of the Week, to a drop down menu from Occasions. I

I want to do this drop down menu on all the pages on my site.

I looked at a couple of websites that have this feature, including John Zeman's, but the commands needed are too far between each other. I know there is a beginning command and a command that needs to be coded to "attach" to each other. I'm really not sure where to look.

Can someone help, please?

Posted: Sat Mar 14, 2009 5:04 pm
by John Zeman
Jeanne on my web site I used the Xara Menu Maker program to create the slide out/drop down menus, it's pretty easy to use and doesn't require a lot of knowledge. It creates all the graphics for you and writes the JavaScript code, all I have to do is to paste the code into my web pages. If you're interested here's the link to the program:


Posted: Sat Mar 14, 2009 5:56 pm
by Cheyenne
Looking at ... epacks.asp, I already have "Home" "About Us" "Products" "Links" so to speak on my webpage.

Again, looking at the above link, the top row, middle templete.

I want to learn the code to write (as shown) "Menu Text" under "Home"

My website would be "Occasions" instead of "Home" and "Good..." instead of "Menu Text".

Can you or someone help me with this?

Posted: Sat Mar 14, 2009 6:21 pm
by John Zeman
The menu buttons on that Xara template page are just examples. When you use the program you create whatever names you want along with whatever you want for submenus. You can have as many or as few buttons and submenus as you want.

If I were going to use the menu maker on your web site, I would replace the current menu you are using now with the menu maker JavaScript menu bar. You could duplicate your current links and easily add the submenus if you want.

The reason I choose to do it this way is because I really don't want to learn any more JavaScript than I have to, and these menus can get pretty hairy in the JavaScript coding. I have one other program I also use to create JavaScript drop down menus but it's 3 times as expensive and much harder to learn as opposed to the Xara program. On the other hand it's far more powerful as well.

If you don't want to buy a program to build your menus you could grab a free JavaScript script from a place like

Posted: Sat Mar 14, 2009 6:27 pm
by John Zeman
Just to follow up since you mentioned my personal web site, the following code is all I have to paste into each of my pages in order to display the buttons and submenus you see there.

Code: Select all

<script src="menus/xaramenu.js" type="text/javascript">
</script> <script menumaker="" src="menus/days.js" type="text/javascript">
For anyone else following who might be wondering what we're talking about, here's the URL to my personal web site (which is simply about my most recent vacation):