Quote:
Originally Posted by xixxon
Hehe, whatever u want 
|
I though so

so here is what I have done
in headiclude before that < script yahoo blah-blah-blah > a add this as i'm using it for something else as well
Code:
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
then I put this into additional.css
Code:
#bttop{
padding:5px;
position:fixed;
bottom:55px;
right:10px;
cursor:pointer;
}
Wait for it....
in the footer on the very end as you said
Code:
<vb:if condition="$show['member']">
<div id='bttop'><img src="./images/misc/gotop.png" alt="{vb:rawphrase top}" height="72" width="72"/> </div>
<script type='text/javascript'>$(function(){$(window).scroll(function(){if($(this).scrollTop()!=0){$('#bttop').fadeIn();}else{$('#bttop').fadeOut();}});$('#bttop').click(function(){$('body,html').animate({scrollTop:0},900);});});</script>
</vb:if>
Yup, don't wanna guests playing with that and also I think an image is better
P.S.> sure I got an opensourse icon from opensoure-icon-web-site and up it into images/misc folder
Thanks again
Kinda lost the concept of one step but I like the things in own place it helps avoiding duplicate redundancies