Bznsnxmwmxms
domingo, 21 de setembro de 2014
quinta-feira, 3 de abril de 2014
terça-feira, 1 de abril de 2014
Antes de ]]></b:skin>
/* to top */
#toTop {
width:50px; /* Largura do bot�o * /
background: #FF0000; /* Cor do bot�o*/
border:1px solid #000; /* Cor da borda */
text-align:center; /* Alinhamento do texto */
padding:5px; /* Distancia entre texto e borda */
position:fixed; /* Posi��o que faz com que ele corra por toda a p�gina*/
bottom:5px;
right:5px;
cursor:pointer;
color:#eee; /* Cor da letra */
text-decoration:none;
font-weight:700; /* Tamanho da letra */
-moz-border-radius:5px; /* Defini��es para o angulo do bot�o */
-khtml-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
Antes de </body>
<a href='#' id='toTop'>▲ Topo</a>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
/*-----------------------
* jQuery Plugin: Scroll to Top
* by Craig Wilson, Ph.Creative (http://www.ph-creative.com)
*
* Copyright (c) 2009 Ph.Creative Ltd.
* Description: Adds an unobtrusive "Scroll to Top" link to your page with smooth scrolling.
* For usage instructions and version updates to go http://blog.ph-creative.com/post/jquery-plugin-scroll-to-top.aspx
*
* Version: 1.0, 12/03/2009
-----------------------*/
$(function(){$.fn.scrollToTop=function(){$(this).hide().removeAttr("href");if($(window).scrollTop()!="0"){$(this).fadeIn("slow")}var scrollDiv=$(this);$(window).scroll(function(){if($(window).scrollTop()=="0"){$(scrollDiv).fadeOut("slow")}else{$(scrollDiv).fadeIn("slow")}});$(this).click(function(){$("html, body").animate({scrollTop:0},"slow")})}});
$(function() {
$("#toTop").scrollToTop();
});
</script>
_________________________________________________
By DualCore20
Link Do Site:
http://hackstotalca.blogspot.com
segunda-feira, 31 de março de 2014
Assinar:
Postagens (Atom)