Track Scroll Events.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #16
    I tested this code ..in IE 6 ..but it's not running ...
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <head>
    <style type="text/css">
    #text_id {
    position:fixed;
    top:0px;
    right:0px;
    }
    </style>
    </head>
    <body>
    <input type='text' class='text_id'/>
    <div style='width:2000px;height:2000px' id='div_id'>
    </div>
    </body>
    </html>
    Where i am wrong ... :(

    Sorry sorry .... i didn't read out your previous post ... ;)

    I also tested it in Mozilla ...it's not working ....

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #17
      IE 6 doesn't support position:fixed as I mentioned earlier. Use the fix that's described on the page I linked to earlier - Making Internet Explorer use position:fixed;

      I'm not sure why it's not working for you in Firefox. It has done for a number of versions. Does the example in that link work?

      Comment

      Working...