Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorfunnygirl
    • CommentTimeFeb 6th 2008
     
    which one of these is recommended for use:

    href="#top"
    or
    href="javascript:scroll(0,0)"
    •  
      CommentAuthorben
    • CommentTimeFeb 10th 2008
     
    The second option requires a Javascript enabled client to work, therefore the first option could be considered the better of the two.

    You could also link to your header, eg:
    <div id="header"> ... </div>
    ...
    <a href="#header">Top</a>
  1.  
    Hi,

    i think most of the coders us href="#top" as it don't required javascript enable client browser like if you use href="javascript:scroll(0,0)" then i will not work on lynx on linux .

    Thanks,
    www.smartknight.com