2009-12-14, 12:25 AM
Well this is my very first tut ever! So be nice to me.
First here is an example page of what the end result can look like.
http://tm0.org/forum/post-18.html#pid18
You can achieve this thanks to Dymamic Drive. (All credits go to them, i am merely breaking it down. Link to their tut here) http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
First start off by Downloading their JS file here
http://www.dynamicdrive.com/dynamicindex...control.js
Upload that to your MyBB root.
Open your admin control panel. Go to the template section, and open you template of your current theme.
*If you have more then one theme you will have to do the following more then once.*
Find you "showthread templates" , expand it and go to showthread.
Right under the header add
Add that code.
Next you need to upload an image to your Root MyBB folder. (Not your images folder)
I used this as one. http://www.freeclipartnow.com/signs-symb...p.jpg.html
Dynamic Drive supplies this image.
http://www.dynamicdrive.com/dynamicindex3/up.png
A good google term would be (Your colour) up arrow.
Upload that file VIA your control panel or a FTP client/SSH.
After that, check out what area your theads and see if it is still there.
If you want to add it to a different page such as your index, just do the same just use your index templates.
Thats it i'm done if you need anything i'll be right here.
If you PM me for support on this i will slap you.
Again i would like to state that none of this code is mine. All of it is Dynamic Drive's. I merely have shown you how to add it into MyBB. I claim ZERO percent of it.
http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
Thank you.
Also credits to RateU for telling me what it was. Darn Jquery..
First here is an example page of what the end result can look like.
http://tm0.org/forum/post-18.html#pid18
You can achieve this thanks to Dymamic Drive. (All credits go to them, i am merely breaking it down. Link to their tut here) http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
First start off by Downloading their JS file here
http://www.dynamicdrive.com/dynamicindex...control.js
Upload that to your MyBB root.
Open your admin control panel. Go to the template section, and open you template of your current theme.
*If you have more then one theme you will have to do the following more then once.*
Find you "showthread templates" , expand it and go to showthread.
Right under the header add
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="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>
Add that code.
Next you need to upload an image to your Root MyBB folder. (Not your images folder)
I used this as one. http://www.freeclipartnow.com/signs-symb...p.jpg.html
Dynamic Drive supplies this image.
http://www.dynamicdrive.com/dynamicindex3/up.png
A good google term would be (Your colour) up arrow.
Upload that file VIA your control panel or a FTP client/SSH.
After that, check out what area your theads and see if it is still there.
If you want to add it to a different page such as your index, just do the same just use your index templates.
Thats it i'm done if you need anything i'll be right here.
If you PM me for support on this i will slap you.
Again i would like to state that none of this code is mine. All of it is Dynamic Drive's. I merely have shown you how to add it into MyBB. I claim ZERO percent of it.
http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
Thank you.
Also credits to RateU for telling me what it was. Darn Jquery..