![]() |
Quote:
|
Quote:
Upload attached file to your client script folder. Change: To: This will allow you to self host the modificaiton instead of relying on an external source. Much better as if they go down this wont work. |
tagged!! nice!
|
How to make this work with Go to Top text links?
Thanks |
Installed but not working on my site.
- Downloaded files - Uploaded to my /forums folder (forum root) - added the following to my headerinclude template Code:
<script type="text/javascript" src="http://www.fataltacticsgaming.com/forums/scrolltopcontrol.js"></script> Any ideas? |
As soon as I changed my headerinclude to the following, it worked:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> Any idea as to why it doesn't work on my vBadvanced Homepage? Not a big issue, but would be nice if it worked there also. |
Quote:
|
Quote:
|
ChopSuey, very nice idea. It is really handy if you have big Forum and must scroll all the way down and up to search it. But for me there is mistake. You forgot to close the tag </script> in the second line of your code.
Also to make that mod work everyone should upload jquery-1.3.2.min file into their forum root folder. I've attached jquery-1.3.2.min.js file as the attachement below. 1. Download jquery-1.3.2.min.js and unpack it to the scrolltopcontrol folder, so you will have jquery-1.3.2.min.js and scrolltopcontrol.js in the same folder. 2. Upload jquery-1.3.2.min.js, scrolltopcontrol.js and up.png to your Forum root folder. 3. Copy corrected code seen below and paste it at the bottom of your headinclude template. The code you should paste in the headinclude should look like: Code:
<script type="text/javascript" src="jquery-1.3.2.min.js"></script> Thanks to that, your Forum will use the file that is on the same server, than using external address like: Code:
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js |
Quote:
Also JavaScript files should be contained in your clientscript folder in order to maintain the same placement of files as VB's default convention. Thus the coders initial file should be copied there and the path edited accordingly. |
All times are GMT. The time now is 11:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|