Scroll To Top

Discussion in 'Scripts' started by taty, Oct 28, 2012.

to remove all ads.
  1. taty

    taty New Member

    Messages:
    22
    I had a friend send me this to add onto her site for scrolling back to the top.
    Ok so I put it in the head tags, now how do I reference it to the back to top button on the bottom of the page?

    Thanks in advance

    <!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" lang="en" xml:lang="en">

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

    <script type="text/javascript" src="scrolltopcontrol.js">



    </script>
     
  2. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    Ask your "friend" she knows what the script is.

    I just can see what it's called. which is not very useful.
     
  3. taty

    taty New Member

    Messages:
    22
    I would ask her but she's on a plane from Moscow to Ulaanbaatar to visit her grandparents for two weeks. So, I'll ask her when she gets home where she found the script.
     
    Last edited: Oct 28, 2012
  4. AsheSkyler

    AsheSkyler New Member

    Messages:
    177
  5. taty

    taty New Member

    Messages:
    22
    Thank you for the link. I looked at it and I feel safe to say that's what she's looking for. Undoubtedly she left out all the code when she sent it to me.

    I certainly think you for your time and effort to find it for me.
     

Share This Page