Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:02

using menus in sub directories...


Poster: StarMan
Dated: Thursday June 22 2006 - 23:07:16 BST

Hi.

I scanned the forum looking for an answer 1st - but no luck - so here's my question:

I have a need to use the menu system in subdirectories. (I want different colored menus, etc.. I though I could just put a copy of the menu program in the subdirectory and change the data file... but... it appears the menu system reads out of the root directory only. Is this true?

Thanks for any insight!

-Wes


Poster: Ruth
Dated: Friday June 23 2006 - 4:04:41 BST

Hi,

You can put the menu in any directory you want you just have to make sure the calls for the menu files are correct on any pages where you want the menu to apprear, and those pages can be in any folder you want, also.

So for example, my site is

root with a whole punch of pages in it, plus folders
aboutme
borders
menu
textonly
writings

The menu files are in the menu folder, and are called on about 50% of the pages in the root, all in aboutme, borders and writings. I just use the path to the menu folder as the calls for the milonic_src.js, mmenudom.js, mmenuns4.js and my menu_data.js file.

Now, having said that, I have a feeling I'm misunderstanding what you want. Are you saying you want the menu to be on only certain pages that are in certain folders?

To give you some basic info:

You can make as many menu_data.js files as you want. You can name them whatever you want, i.e. my_menu.js, borders_data.js, menu1_data.js, menu2_data.js and so on. Or you can make one data file which has differently styled menus in it.

Styles are created at the top part of the menu_data.js file, and like creating many data files, you can use one file and create many styles, naming each differently and assigning whichever style you want to whichever menu.

Below my name is a link to the Beginners' Forum. It has some basic explanations which are a pretty quick read which might help you. You want to take a look at the Styling sections I, II, and III.

If you need anymore help, just post back. We are always glad to help out. :)

Ruth