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:40
separatorcolor & separatorsize in sub-menu only
Poster: Wavmixer
Dated: Monday March 1 2004 - 16:58:00 GMT
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?
Yah
Poster: doodleelephant
Dated: Monday March 1 2004 - 17:36:46 GMT
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
Poster: Wavmixer
Dated: Tuesday March 2 2004 - 15:04:10 GMT
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?
Poster: John
Dated: Tuesday March 2 2004 - 15:23:23 GMT
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://www.milonic.com/forum/viewtopic.php?t=2981.
Poster: Wavmixer
Dated: Tuesday March 2 2004 - 18:46:17 GMT
Thanks jgillett,
I looked through the link you provided, however I do not see what I'm looking for.
Re: Yah
Poster: Wavmixer
Dated: Tuesday March 2 2004 - 22:16:55 GMT
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.