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



Reply With Quote

Bookmarks