Forum Moderators: open

Message Too Old, No Replies

fixed elements

         

jassica

11:31 pm on Jul 5, 2005 (gmt 0)

10+ Year Member



i want my drop down menu to remain at the top of the page while scrolling...
please do you have any ideas, thanx...

BlobFisk

9:00 am on Jul 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld jassica!

This could be very very easy if IE support position: fixed... But it doesn't! You alternative is a clunky amount of Javascript to recalculate the top point of the screen, or use % layer heights and scroll the bottom one to hack this functionality together. For example, the top layer would be 10% in height and the bottom layer would be 90% in height and scroll on overflow. You top layer could be your menu area which would stay static.

HTH