PDA

View Full Version : Back to TOP after each reply ( code )


TimberFloorAu
01-01-2009, 09:51 PM
Just been reading a question asked about "Back to Top" for forum posts, saves the long scrolling !

So I have created some code for you, enjoy.

1. admincp > styles & Templates > style manager >

search for postbit_legacy or postbit

then in search box for this template, look for <!-- controls -->

Right after this add:


<a href="#top" onclick="scroll(0,0); return false;">
<img src="expats/images/misc/top.gif" alt="" width="70" height="22" border="0"
style="margin-right:0.4em;"/></a>


Where expats is our style ( substitute for your own )

so if your style is called DAVE then the link would be DAVE/images/misc/top.gif

Then ftp this image to your forum/style folder.

in my case this would be forum/expats/images/misc/

Image Included.

Enjoy :up:

TimberFloorAu
01-02-2009, 12:03 AM
If you use the code, please reply *Installed*

Please do not Hotlink to our images.

Ste