Simple Back to Top Scroll

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
Locked
User avatar
mikef35
BBCoder III
BBCoder III
Posts: 147
Joined: 23 Feb 2012, 21:45

Simple Back to Top Scroll

Post by mikef35 »

This is a simple JQUERY that adds a Back to TOP icon at the bottom right of your forum.
Prosilver SE Style
Open Overall_Header.php and find

Code: Select all

<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
Add Below

Code: Select all

<script type="text/javascript" src="{ROOT_PATH}script/scrolltopcontrol.js"></script>
Add the attached image to your Root images folder
up.png
up.png (1.32 KiB) Viewed 5844 times
or use this one "I got this one from a user on different forum. Thanks - Blackwolf_Oz
up.png
up.png (5.39 KiB) Viewed 5756 times
Unpack and add the attached JQUERY Script to your Root Script Folder, if you don't have script folder just make one or edit the code.
scrolltopcontrol.rar
(1.52 KiB) Downloaded 581 times
Clear Cache and Refresh templates then ctl+F5 Browser
Demo: http://www.trestleboard.us
Last edited by mikef35 on 10 Mar 2012, 18:04, edited 5 times in total.
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Simple Back to Top Scroll

Post by Nully »

Very funny! I could not find it in the demo.. It is at the right of my screen :D
User avatar
mikef35
BBCoder III
BBCoder III
Posts: 147
Joined: 23 Feb 2012, 21:45

Simple Back to Top Scroll

Post by mikef35 »

Nully wrote:Very funny! I could not find it in the demo.. It is at the right of my screen :D


Really!!! :eggs

Yes, it is working on the demo, you must scroll down for it to appear. 8-)
Last edited by mikef35 on 08 Mar 2012, 22:55, edited 1 time in total.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Simple Back to Top Scroll

Post by martin123456 »

Thought il point this out but it's already been turned into a mod check it here http://www.mihalismscript.com/viewtopic.php?f=50&t=273 this is the one i use.
User avatar
mikef35
BBCoder III
BBCoder III
Posts: 147
Joined: 23 Feb 2012, 21:45

Simple Back to Top Scroll

Post by mikef35 »

Not the same. But still works- I like this one because it is simple and keeps the icon tucked off to the right.
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Simple Back to Top Scroll

Post by Nully »

mikef35 wrote:
Really!!! :eggs

Yes, it is working on the demo, you must scroll down for it to appear. 8-)
Yes, really :o
It works. What I found funny is that I was looking at the image at the bottom of the forum and it is on the right.
juango
BBCoder II
BBCoder II
Posts: 34
Joined: 30 May 2011, 20:44

Simple Back to Top Scroll

Post by juango »

you should at least give credit to the site where the files are from:http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 13:17
Favourite MOD: mChat
Contact:

Simple Back to Top Scroll

Post by RMcGirr83 »

mikef35 wrote: Add Below

Code: Select all

<script type="text/javascript" src="{ROOT_PATH}script/scrolltopcontrol.js" type="text/javascript"></script>
Is wrong. Why type="text/javascript" twice?
juango wrote:you should at least give credit to the site where the files are from:http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
FWIW, I completely agree.
User avatar
mikef35
BBCoder III
BBCoder III
Posts: 147
Joined: 23 Feb 2012, 21:45

Simple Back to Top Scroll

Post by mikef35 »

juango wrote:you should at least give credit to the site where the files are from:http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
Thanks for adding that, I had no idea where it originated from. I had a friend send it to me. So yes they should be credited with the script. You should not jump on someone until you know the deal.
Locked