Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Wavmixer
Beginner
Posts: 8 Joined: Wed Dec 10, 2003 2:14 am
Post
by Wavmixer » Mon Mar 01, 2004 5:58 pm
I would like to be able to use separatorcolor & separatorsize in the sub-munu only without having it affect the main menu. Can this be done?
doodleelephant
Advanced
Posts: 19 Joined: Sat Jul 05, 2003 5:43 pm
Location: UT, US
Contact:
Post
by doodleelephant » Mon Mar 01, 2004 6:36 pm
I believe you just need to create a separate style and apply it to the sub menu. I have no separator bars on my main menu, but I do on my submenu. I don't know where an example is on milonic's site, but you can check out my template
HERE
Happy to Help!
Doodleelephant
Wavmixer
Beginner
Posts: 8 Joined: Wed Dec 10, 2003 2:14 am
Post
by Wavmixer » Tue Mar 02, 2004 4:04 pm
That is exactly what I would like to do. My site is at
http://www.wavmixer.com . Now, how do I apply a seperate style to each sub-menu?
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Tue Mar 02, 2004 4:23 pm
Just call the style you want for each sub using the style= parameter, the same way you did for your main menu.
Sounds like you need
http://milonic.com/forum/viewtopic.php?t=2981 .
John
Wavmixer
Beginner
Posts: 8 Joined: Wed Dec 10, 2003 2:14 am
Post
by Wavmixer » Tue Mar 02, 2004 7:46 pm
Thanks jgillett,
I looked through the link you provided, however I do not see what I'm looking for.
Wavmixer
Beginner
Posts: 8 Joined: Wed Dec 10, 2003 2:14 am
Post
by Wavmixer » Tue Mar 02, 2004 11:16 pm
OK, I copied doodleelephant's menu_data.js and I see
with(mainStyle=new mm_style()){
and
with(subStyle=new mm_style()){
where I can make the adjustments that I want.
Thank you one and all.