PDA

View Full Version : How to make Smooth Navigational Menu (v1.4) to drop up the sub levels ?



kevinreynolds
02-07-2010, 12:46 AM
1) Script Title: Smooth Navigational Menu (v1.4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

3) Describe problem: I am a beginner in CSS so if anyone could guide me in finding how to make the "drop up" instead of "drop down" menu using "Smooth Navigational Menu (v1.4)" will be really appreciated.. Thanks a looooooot.

grahammcuk
04-14-2010, 09:40 AM
Hello mate,

Did you manage to fix this issue as I am also trying to get this menu to go up instead of down!

Thanks!

Graham

liamallan
04-14-2010, 10:17 AM
in ddsmoothmenu.js, find this line:


$subul.css({top:this.istopheader && setting.orientation!='v'? this._dimensions.h+"px" : 0})

and replace with:


$subul.css({top:this.istopheader? -this._dimensions.subulh+"px" : -this._dimensions.subulh+this._dimensions.h})

hope it works for ya

Jingleballs
04-05-2011, 09:04 PM
Thanks Liam. That's was the answer I was looking for also. However do you know how to make the menu animate upward or fade from bottom to top?