How to hide the second menu on sub pages

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Nickde
Beginner
Beginner
Posts: 4
Joined: Tue Apr 13, 2004 1:30 am

How to hide the second menu on sub pages

Post by Nickde »

I have a vertical and horizontal menu on my pages. I am using Front Page shared borders for the horizontal menu but not the vertical one. The vertical one appears on every page too. How do I hide the vertical menu from all pages but the main one?

Nick :?:
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Since you aren't using shared borders for the vertical menu, but you are for the horizontal menu, I'd have to assume that the code for the vertical menu is in a different .js file than the code for the horizintal menu. So, if you don't want the vertical menu to appear on a page, don't load its .js file into that page.

Kevin
Nickde
Beginner
Beginner
Posts: 4
Joined: Tue Apr 13, 2004 1:30 am

How to hide the second

Post by Nickde »

Thanks Kevin... I only have one file, but you have given me the idea for how to do it. I will split the vertical menu into it own ...js and only load it on the first page.

Thanks Nick :)
Post Reply