Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5

Thread: TOP of PAGE

  1. #1
    Join Date
    Apr 2006
    Posts
    1,463
    Tokens
    0

    Latest Awards:

    Default TOP of PAGE

    What is it If tryed
    javascript:window.top(); because javascript:window.close(); closes a window but it just dosent work can anyone help me.
    Thanks.

  2. #2
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    no javascript,

    put this
    <a name="top"></a>

    under yout <body> tag and make a link to #top ie:
    <a href="#top">Back to top</a>

  3. #3
    Join Date
    Apr 2006
    Posts
    1,463
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Eric30 View Post
    no javascript,

    put this
    <a name="top"></a>

    under yout <body> tag and make a link to #top ie:
    <a href="#top">Back to top</a>
    Hmm dosent work.

  4. #4
    Join Date
    Feb 2005
    Location
    Leicestershire / Sheffield
    Posts
    685
    Tokens
    0

    Default

    It works fine, you must be doing something wrong.

    in your HTML where your <body> is,

    put:

    <body>
    <a name="top"></a>

    then

    somewhere at the bottom of the page add the link:

    <a href="#top">Back to top</a>

  5. #5
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    orrrr.

    onClick="scroll(0, 0)"


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •