Web Analytics Made Easy -
StatCounter :: #top buttons in javascript :: - CodingForum

Announcement

Collapse
No announcement yet.

:: #top buttons in javascript ::

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • :: #top buttons in javascript ::

    how can i make a button that takes the user to the top of the page without the url#top being displayed in addy bar? i just dont like the way it looks

    thanks peeps
    "They hired me for my motivational skills. Everyone at work says they have to work much harder when I`m around" Homer J Simpson

  • #2
    with JS:
    <input type="button" value="Back to top" onclick="scrollTo(0,0);" />

    Nice enough?
    Zvona
    First Aid for
    Web Design

    Comment


    • #3
      thanks! works fine!
      "They hired me for my motivational skills. Everyone at work says they have to work much harder when I`m around" Homer J Simpson

      Comment


      • #4
        Thats cool ...

        _______________

        Whole in one guide: Power4Home Review and The Complete Bead Guide.

        Comment

        Working...
        X