Scroll down but not the top row.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beary
    New Member
    • Nov 2006
    • 170

    Scroll down but not the top row.

    Is it possible to make a row of php output, stay fixed at the top of the screen? So that when the page scrolls down, the top row stays fixed but the other rows scroll?
  • devsusen
    New Member
    • Feb 2007
    • 136

    #2
    Hi,
    for this purpose I prefer to use div tag with css style and javascript. put the output of the fixed row within a div tag and put its z-index value higher. Now using javascript u need to fix the position of the div so that it always stays at the top position of the browser's screen. Now put the other rows in another div tag and put its z-index value lower.
    As a result the first div will always float at the top position of the screen and above the second div tag.

    U can look for DHTML effects for this purpose.

    Originally posted by beary
    Is it possible to make a row of php output, stay fixed at the top of the screen? So that when the page scrolls down, the top row stays fixed but the other rows scroll?
    susen

    Comment

    Working...