![]() |
Back to Top.
1 Attachment(s)
Very easy and fast template mod, what this dose is allow you to put a link in your postbit, when click the user will pop back to the top of the page.
frist edit postbit find Code:
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{ imagesfolder }/quote.gif" border="0" alt="Reply w/Quote"></a> Below that add Code:
<a href="showthread.php?s=$session[sessionhash]&threadid=$post[threadid]#top"><img src="{ imagesfolder }/icon_go_up.gif" border="0" alt="Back to Top"></a> upload the attached image to the images folder and you done. :bunny: |
Or you could just do this if you wanted a text link and wanted to use javascript. :)
Code:
<b><a href="javascript:self.scrollTo(0,0);"><font color="#EEEEFF">Back to Top</a></b></font> |
Or you could use even simpler HTML...
In showthread add : Code:
<a name="top"></a> In postbit add : Code:
<a href="#top"><img src="{ imagesfolder }/on.gif" alt="Back to Top"></a> Satan |
1 Attachment(s)
pretty nice,i still have these problem..it seems that before the images a > appearsmive check my $postibt but nothing worng with it,heres a pic
|
somehow you put a > in front of the image somehwere, just remove it.
|
All times are GMT. The time now is 02:40 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:
|