Quote:
Originally Posted by Cees
Searching for a nice and smooth style, i found this wonderful style. Installed it and wow how nice.. Can anybody give me a clue how i can add a top button? I'm new on VB
|
the code for top in the footer templat is :
Code:
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
the button goes/ is upload to the buttons dir .
to make it a button or use it any place else can use :
Code:
<a href="#top" onclick="self.scrollTo(0, 0); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/_top.gif" alt="top of page" border="0" /></a>
if the button is out of line or not aligned try removing ' class="inlineimg" "