Posted 12 years ago
·
Author
Well , i want to share a "back to top" for you imvu hp . maybe you could use it if your page are too high, so you no longer need to scroll to the top or you can use it just for looking good
[spoiler=Clik to see code][/spoiler]
you can change with other color , this script i make your easy to change . just , change html color codes #F90808 with other color codes you want it and press F3 or ctrl + F to easy search then change color code #F90808
you can get color code in this site http://html-color-codes.info
SORY aobut my speak may make confused
[spoiler=Clik to see code]
<script type='text/javascript'>$(function(){$(window).scroll(function(){if($(this).scrollTop()!=0){$("#noop-top").fadeIn()}else{$("#noop-top").fadeOut()}});$("#noop-top").click(function(){$("body,html").animate({scrollTop:0},800);return false})});</script><a id='noop-top' style='display: none; position: fixed; bottom: 1px; right:1%; cursor:pointer;font:12px arial;'><span>^</span></a><style type="text/css">#noop-top span{-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s;-o-transition:all .3s;background-color:#F90808;background:-moz-linear-gradient(top,#F90808 0,#F90808 50%,#F90808 51%,#F90808 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#F90808),color-stop(50%,#F90808),color-stop(51%,#F90808),color-stop(100%,#F90808));background:-webkit-linear-gradient(top,#F90808 0,#F90808 50%,#F90808 51%,#F90808 100%);background:-o-linear-gradient(top,#F90808 0,#F90808 50%,#F90808 51%,#F90808 100%);background:-ms-linear-gradient(top,#F90808 0,#F90808 50%,#F90808 51%,#DA2941100%);background:linear-gradient(top,#F90808 0,#F90808 50%,#F90808 51%,#F90808 100%);border:3px solid #fff;border-radius:14px 14px 14px 14px;color:#fff;font:bold 56px cursive;height:50px;left:3px;display:block;text-align:center;text-shadow:1px 1px 0 #000;top:-56px;width:50px}#noop-top:hover span{box-shadow:0 0 49px #F90808;height:70px}#noop-top{color:#000;text-shadow:1px 1px 0 #fff;text-decoration:none}</style>
you can change with other color , this script i make your easy to change . just , change html color codes #F90808 with other color codes you want it and press F3 or ctrl + F to easy search then change color code #F90808
you can get color code in this site http://html-color-codes.info
SORY aobut my speak may make confused
Last edited by vianjb on Tue Jul 10, 2012 1:20 am, edited 1 time in total.