Results 1 to 4 of 4

Thread: jQuery Scroll to Top Control doesn't work >.<

  1. #1
    Join Date
    Jun 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default jQuery Scroll to Top Control doesn't work >.<

    1) Script Title: jQuery Scroll to Top Control

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm

    3) Describe problem: Well, it doesn't seem to work. Instead of a gentle scroll animation to the top, it instantly switches to top (without any animation).

    For scripts in head, I tried putting scrolltopcontrols.js even in the forum root folder, but it didn't change anything. The scripts look like this in the headinclude template:

    Code:
    <script type="text/javascript" src="/clientscript/scrolltopcontrol.js">
    /***********************************************
    * Scroll To Top Control script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Project Page at http://www.dynamicdrive.com for full source code
    ***********************************************/
    </script>
    
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    There is a native doctype for vB forums already there, but even after I changed it to the proposed one on the code's page, it didn't change anything. Taken from source:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html dir="ltr" lang="en">

    The button to top is placed in footer template as:

    Code:
    <td class="tfoot" align="center"><a href="#top"><img src="/images/buttons/backtotop.png" alt="Back to Top" /></a></td>
    Rawr, if anyone would be willing to work over this and other problems via MSN with me, I'd be totally happy~
    TehKittenAssaultTeam@hotmail.com

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Jun 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://muffin.g2anime.net/index.php < it's a link to the forum, and the script itself should be on every page there. The Back to Top link is on the very bottom in every foooter: http://prntscr.com/24uob. By the way, any ideas on how I could make it so it would be in center? With so many tables there align center doesn't exactly work.


    EDIT: By the way, is this the right section to post such things?
    Last edited by Emeralda; 06-24-2011 at 07:08 PM.

  4. #4
    Join Date
    Jun 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

Bookmarks

Posting Permissions

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