Follow scrolling menu positionning when scrolled

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
phd038
Beginner
Beginner
Posts: 2
Joined: Tue Oct 26, 2004 6:13 pm

Follow scrolling menu positionning when scrolled

Post by phd038 »

Before the page is scrolled, the menu is vertically positionned with

top=10

(for instance). But : I could not find how to specify the distance from the top once the menu was re-positionned after the page was scrolled. It seems that the top of the menu is hardcoded at 1 or 2 pix of the top of the page.

I would like to do the same setup as done on this page :

http://milonic.com/menufaq.php

where after the "FAQ" menu (left margin) was re-positionned, it is not snapped to the top border, but positionned at ~10px of the border.

Warm thanks for your help !
phd038
Beginner
Beginner
Posts: 2
Joined: Tue Oct 26, 2004 6:13 pm

Post by phd038 »

Got it :

followscroll=10 (instead of 1)
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Glad you got it, you had me confused thinking scroll bar, didn't think of followscroll.

maz
Post Reply