Scroll to Top

Rafael Cirolini 5 de dezembro de 2010 10

I began to have many long posts, and I felt the need to have a mechanism rapid return to the top of the site.

I then decided to create a plugin for WordPress that makes it so fast and elegant. Fully written in jQuery, the plugin adds a floating box centered in the footer of your site that only appears when you scroll the page down, and when clicked gently roll the site to the top. All this without any modification to your template.


Features:

  • can enable / disable
  • change the text
  • change the width of the box
  • change the text color
  • change the color of the box



Follow the link to download.

Download

  • awe

    i received errors short after i activate the plugin. can you help me with this and what should i do to correct them? thanks in advance

    *****
    Warning: rename(/home/u794385589/public_html/wp-content/plugins/scrollto-top/img/dwieeb_arrow_darker.png,/home/u794385589/public_html/wp-content/stt-images/dwieeb_arrow_darker.png) [function.rename]: Permission denied in /home/u794385589/public_html/wp-content/plugins/scrollto-top/scrollto-top.php on line 139

    Warning: rename(/home/u794385589/public_html/wp-content/plugins/scrollto-top/img/dwieeb_arrow_darker_small.png,/home/u794385589/public_html/wp-content/stt-images/dwieeb_arrow_darker_small.png) [function.rename]: Permission denied in /home/u794385589/public_html/wp-content/plugins/scrollto-top/scrollto-top.php on line 139

    Warning: rename(/home/u794385589/public_html/wp-content/plugins/scrollto-top/img/dwieeb_arrow_dark_small.png,/home/u794385589/public_html/wp-content/stt-images/dwieeb_arrow_dark_small.png) [function.rename]: Permission denied in /home/u794385589/public_html/wp-content/plugins/scrollto-top/scrollto-top.php on line 139

    Warning: rename(/home/u794385589/public_html/wp-content/plugins/scrollto-top/img/dwieeb_arrow.png,/home/u794385589/public_html/wp-content/stt-images/dwieeb_arrow.png) [function.rename]: Permission denied in /home/u794385589/public_html/wp-content/plugins/scrollto-top/scrollto-top.php on line 139

    Warning: rename(/home/u794385589/public_html/wp-content/plugins/scrollto-top/img/dwieeb_arrow_dark.png,/home/u794385589/public_html/wp-content/stt-images/dwieeb_arrow_dark.png) [function.rename]: Permission denied in /home/u794385589/public_html/wp-content/plugins/scrollto-top/scrollto-top.php on line 139

    Warning: rename(/home/u794385589/public_html/wp-content/plugins/scrollto-top/img/dwieeb_arrow_small.png,/home/u794385589/public_html/wp-content/stt-images/dwieeb_arrow_small.png) [function.rename]: Permission denied in /home/u794385589/public_html/wp-content/plugins/scrollto-top/scrollto-top.php on line 139
    *****
    The plugin generated 2256 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
    *****

  • http://www.musezine.net David

    I have started using this plugin and it works very well, however can I position it to the right? and if so how? Thanks

    • http://www.nerdhead.com.br Rafael Cirolini

      Yes,

      in the next version. Or change css.

      • Darek

        Any hint on how to change css to align this plugin to the right?
        I don’t want it to be in front of my photos at http://dariuszczepiel.pl/blog

  • Phillip

    Awesome plugin – it’s exactly what I need for my site’s long pages.

    There seems to be a conflict with the GravityForms plugin – this plugin makes that one fail.

    I replaced the enqueue_script of stt.js in the main stt.php file, around line 60, with the function:

    function stt_enqueue_scripts() {
        if (is_admin()) return;
        wp_enqueue_script(‘stt’, WP_PLUGIN_URL . ‘/scroll-to-top/js/stt.js’, array(‘jquery’), ’1.0′ );
    }
    add_action(‘wp_print_scripts’, ‘stt_enqueue_scripts’);

    and it seems to have corrected the problem.  Not sure if the script is needed on the backend, but thought you might want to know, in case others encounter plugin conflicts.

  • http://pulse.yahoo.com/_Z5QZQNAXXWWW3WURJGBNJSMYBQ gutted

    love the plug, but just before it scolls the page I get a flash of content any ideas?

  • ZEvg

    normal plug, but what about setting up custom on-the-page position for inscription? or set function to custom area on screen(full area under left menu, for example)?

  • Pingback: Mijn favoriete plugins voor Wordpress | Danielle

  • http://www.boardirectory.org/ Board Directory

    I use this and quite enjoy it.

  • Ibeedug

    Nice simple plugin. It does have a conflict with Gravity Forms Admin. I have to disable S2T in order to edit my forms.