WordPress.org

Ready to get started?Download WordPress

Forums

Jump to top of page (8 posts)

  1. Arash
    Member
    Posted 7 years ago #

    I know it is possible to add a "jumps to top of page" code in the page.php or index.php file. I was wondering if anyone knows a plugin or code that lets the "top of page" button scroll with you, while you scroll down.

    I used to see a lot of such javascripts a few years ago. Now I can't find them :( maybe I am looking correclty.

    Do you know a "jumps to top of page" plugin or script?

  2. aar0on
    Member
    Posted 7 years ago #

    see this page for an "always on top" text script:
    http://www.dynamicdrive.com/dynamicindex10/topmsg.htm

    the link code for jumping to the top of a page is:

    <a href="#top">Top</a>

    ^ insert that in the script, and you're good to go.

  3. Arash
    Member
    Posted 7 years ago #

    Thank you, but I am looking for one that scrolls with you, while you go up and down.

  4. moshu
    Member
    Posted 7 years ago #

    If you know what you want why don't you search for it? It took me about 1 and half minute:
    http://www.dynamicdrive.com/dynamicindex5/jumptop.htm

  5. Arash
    Member
    Posted 7 years ago #

    Thank you moshu,

    I did search using google and hotscripts, but could not find one that works well will wordpress. The one you posted is close, but it does not display it within the post, but it displays on the bottom right corner of the page, and not in line with wordpress theme css.

    That is why I posted my question here on wordpress.

  6. aar0on
    Member
    Posted 7 years ago #

    I tried that script that moshu linked above and couldn't get it to work in any browser. It may be a wordpress issue.

  7. whooami
    Member
    Posted 7 years ago #

    aar0on,

    There's a much better chance that it's your issue, since I can demonstrate that it works just fine right here:

    http://bigbox.village-idiot.org/

  8. CoopFLY
    Member
    Posted 6 years ago #

    hey i did all that stuff and it works but only in safari not on internet explorer or firefox. http://www.filmgrenade.com

    why is it doing that? how do i fix it?

Topic Closed

This topic has been closed to new replies.

About this Topic