indepent item height

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
calebgriffin
Advanced
Advanced
Posts: 10
Joined: Sat Sep 13, 2003 10:37 pm

indepent item height

Post by calebgriffin »

I'm using the menu on every page of the site. Some of the pages are much longer(taller?) than the menu. On those pages, I'd like to extend the height of the menu. I thought one way to do this would be to add an extra item at the bottom with no text and no url but a specified itemheight.

And then I would change the item height based on how long/tall the page is so that the menu reaches to the bottom of page. How would I go about doing that?

Here's an example of a page where the menu reaches the bottom

http://www.fgelc.org/transportation.htm

Here's an example of a page where the menu does not reach the bottom.

http://www.fgelc.org/beliefs.htm

Can I make one tall menu item while leaving the others at their current height?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

There might be some javascript code you could use, but I don't know how to do javascript. Without it, you could design menus for each 'size' page, but that would mean calling the particular data file for each page. Have you considered doing follow scroll? That way the menu would slide down the page as the person scrolled down. You'd set the top position as you have it now, and as the person scrolled on the long pages the menu would move with them, the top of the menu remaining at the top of the page as it moves.

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

menuheight is a property that can be declared to a menu to set its height.

There seems to be a bug with the menu that is not allowing it to set the declared height though.

This has been fixed for the next version due out soon.

Cheers
Andy
Post Reply