menu adds space at bottom of page?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
JoeMurray
Beginner
Beginner
Posts: 3
Joined: Thu Mar 31, 2005 8:54 pm

problem unresolved in v5

Post by JoeMurray »

I've tried upgrading a client's site from v3 to v5, but the same problem appears. What's next for resolving this??

Cheers,
Joe
JoeMurray
Beginner
Beginner
Posts: 3
Joined: Thu Mar 31, 2005 8:54 pm

url of problem

Post by JoeMurray »

here is the old v3 site - http://www.socialjustice.org - and here is the v5 menu for the homepage - http://www.socialjustice.org/testmenu.php - note the problem with page length is the same in both.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Joe,

In your css you are telling the page to be that high because you are setting the leftSideNav and rightSidNav divs at 5000px high. The rest of the page follows suit.

In your menu_data.js file you need to fix a couple of things. Add these to the style1 definition

Code: Select all

separatorcolor="#CCFFFF";
separatorsize=1;overfilter="Fade(overlap=1.00, duration=0.2);Alpha(style=0, opacity=92);Shadow(color='#1A801A', direction=135, strength=0)";
And remove the effect things at the top, the overfilter is now a parameter in the menu so that takes the place of that. If you look at the aI strings you will see they end like this:

Code: Select all

;;separatorsize=1")
note the double semi-colon. Remove the extra semi-colon and remove separatorsize=1, since you are putting that in the style1 definition, and then add a semi-colon after the ) It should end like this

Code: Select all

;");
If you are interested in the filter effects there is an interactive filters demo to let you view the different filters and transitions on the menu.

Hope this helps. I'm splitting this topic to the version 5 support forum.

Ruth
JoeMurray
Beginner
Beginner
Posts: 3
Joined: Thu Mar 31, 2005 8:54 pm

Thanks

Post by JoeMurray »

Thanks for the help - just goes to show what you miss when picking up someone else's code.

Cheers,
Joe
Post Reply