MH VAMPIRELAINE

MH VAMPIRELAINE

visitem este blog:

quinta-feira, 21 de março de 2013

VOLTAR AO TOPO MH

Monster High

VÁ EM DESING, EM LAYOUT,  ADD GADJET, HTML/JAVASCRIPT

 Botão voltar ao topo com efeito deslizante para blogger




<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
<script type="text/javascript" >
/***********************************************
* Scroll To Top Control script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Modified by www.mijadinhapost.com 
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com for full source code
***********************************************/
var scrolltotop={
//startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
//scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
controlHTML: '<img src="O Link de Sua imagem aqui"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ bottom of window corner
anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links 
state: {isvisible:false, shouldvisible:false},
scrollup:function(){
if (!this.cssfixedsupport) //if control is positioned using JavaScript
this.$control.css({opacity:0}) //hide control immediately after clicking it
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
dest=jQuery('#'+dest).offset().top
else
dest=0
this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
},
keepfixed:function(){
var $window=jQuery(window)
var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
this.$control.css({left:controlx+'px', top:controly+'px'})
},
togglecontrol:function(){
var scrolltop=jQuery(window).scrollTop()
if (!this.cssfixedsupport)
this.keepfixed()
this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
if (this.state.shouldvisible && !this.state.isvisible){
this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
this.state.isvisible=true
}
else if (this.state.shouldvisible==false && this.state.isvisible){
this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
this.state.isvisible=false

}, 
init:function(){ 
jQuery(document).ready(function($){ 
var mainobj=scrolltotop 
var iebrws=document.all 
mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode 
mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body') 
mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>') 
.css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'}) 
.attr({title:'Scroll Back to Top'}) 
.click(function(){mainobj.scrollup(); return false}) 
.appendTo('body') 
if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text 
mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text 
mainobj.togglecontrol() 
$('a[href="' + mainobj.anchorkeyword +'"]').click(function(){ 
mainobj.scrollup() 
return false 
}) 
$(window).bind('scroll resize', function(e){ 
mainobj.togglecontrol() 
}) 
}) 


scrolltotop.init() 
</script>


Não esqueça de onde está grifado em vermelho, colocar o link de sua imagem.
------

ou:

SUBSTITUA  <img src="URL DA IMAGEM" border="0"> PELO URL DA IMAGEM


<div style="position:fixed; bottom:0px; right:0px;"><a href="#" title="topo da pagina"><img src="URL DA IMAGEM" border="0"></a></div>


 




 




 








 









CODIGO:


div style='float:right;'>
<a href='#'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdSsP2NI2aZpjOZLV_4mwg7gxLfhwPtaGjB3ExwuoI3sUvT512x9Tw1IB7g9fQUb1WtjD3MAQlMvmI-gs0mfK6WZPHaMBf0Vg_vdA0LpgIcGF5fMor4Pod6ae9Gxw0Wo6DkRCm1ZePLGJG/s1600/TOPO3.png
' style='display:scroll; position:fixed; bottom:5px; right:5px;' title='Voltar ao Topo da Página'/>
</a>

 








































cursores para blog mh



Código:
<style type="text/css">body {cursor:url("http://1.bp.blogspot.com/-fL1lEPlkjVs/T25gW3x2I7I/AAAAAAAAGI4/VqcmqLNFmcE/s1600/Cursor1.png"),default}</style>


Código:
<style type="text/css">body {cursor:url("http://1.bp.blogspot.com/-PewXq2S_NFU/T25gXv-4TGI/AAAAAAAAGJA/cTlrM4M0hb8/s1600/Cursor2.png"),default}</style> 

Cursor MH
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorMHs2-1.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorMHs2-1.png" border="0" alt="Photobucket"></a>


Cursor Monster High
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorMonsterHigh.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorMonsterHigh.png" border="0" alt="Photobucket"></a>


Cursor Conde Fabulous
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorCondeFabulous.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorCondeFabulous.png" border="0" alt="Photobucket"></a>


Cursor Crescent
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorCrescent.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorCrescent.png" border="0" alt="Photobucket"></a>


Cursor Hissette
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorHissette.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorHissette.png" border="0" alt="Photobucket"></a>


Cursor Leptuna
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorNeptuna.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorNeptuna.png" border="0" alt="Photobucket"></a>


Cursor Shiver
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorShiver.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorShiver.png" border="0" alt="Photobucket"></a>


Cursor Monster High
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorsimboloMH-1.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorsimboloMH-1.png" border="0" alt="Photobucket"></a>


Cursor Sr. Faz Muito Barulho
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorSrFazMuitoBarulho.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorSrFazMuitoBarulho.png" border="0" alt="Photobucket"></a>


Cursor Watzit
<a href="http://s1075.photobucket.com/albums/w433/laahabe/?action=view&amp;current=CursorWatzit.png" target="_blank"><img src="http://i1075.photobucket.com/albums/w433/laahabe/CursorWatzit.png" border="0" alt="Photobucket"></a>





Código:
<style type="text/css">body {cursor:url("http://2.bp.blogspot.com/-qZRoIUBrX0A/T25gYANHL5I/AAAAAAAAGJI/0mXmJryiH-s/s1600/Cursor3.png"),default}</style>  


Código:
<style type="text/css">body {cursor:url("http://4.bp.blogspot.com/-q-NIi9Ut4ZE/T25gYiEuDeI/AAAAAAAAGJQ/B2ieBgskrK0/s1600/Cursor4.png"),default}</style>   


Código:
<style type="text/css">body {cursor:url("http://4.bp.blogspot.com/-iIVYBaqqkb8/T25gZAHPCpI/AAAAAAAAGJY/jV564vYQtAQ/s1600/Cursor5.png"),default}</style>   


Código:
<style type="text/css">body {cursor:url("http://1.bp.blogspot.com/-A4LrLNvf8P4/T25gZtxB0zI/AAAAAAAAGJg/9JxSsrq5nKs/s1600/Cursor6.png"),default}</style>   


Código:
<style type="text/css">body {cursor:url("http://1.bp.blogspot.com/-afujS-J8c_o/T25gaE4WhZI/AAAAAAAAGJo/aaKR2tVv0tE/s1600/Cursor7.png"),default}</style>   

<style type="text/css">body  {cursor:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfkUagpZHL2nW4uD2Da1U_PgFTAQdZ_b8EuSM8nT9zC3NESEktnslH8oCP-sKv-6GE-2RNMb5loc4wj47Yf7s4puq7aOwrdpVBq8e7cME5IMg1l0UF1qXXNuNBXRqSCSmM1ZsOjsNkr_1f/s1600/ccu.png"),default}</style><a href="http://blogdasmeninasblogueiras.blogspot.com/"></a>

É só colar o código que você quer no gadget HTML/Javascript


IMAGEM QUE QUISER:

Este código serve para colocar uma imagem acompanhando o cursor do mouse. Entre na página layout, adicionar gadget, html/javascript e cole esse código:

<script type="text/javascript">
var numeroimg= 7;
var imagemcursor = "endereço da imagem";
</script>
<script type="text/javascript" src="http://acessoriosparablogs.com.br/scripts/mouseimg.js"></script>


Mas antes de salvar veja que logo no começo do código você encontra:

var numeroimg = 7
var imagemcursor = "endereço da imagem"

Aqui você coloca o endereço da imagem no lugar indicado no código e outra coisa que pode ser alterada facilmente é mudar a quantidade de vezes que a imagem se repete alterando o numero 7, mas não aumente muito pois deixa o site. Tentei postar o código aqui, mas o Blogspot modifica os caracteres e faz que o código não funcione, por isso postei o código completo no meu outro site, clique aqui para ver o código para colocar uma imagem no cursor do mouse.

Para colocar no Blogspot esse efeito do mouse vá até a página layout >>> adicionar um gadget >>> html/javascript, então é só colocar o código, não se preocupe com o lugar onde isso vai ficar no seu blog pois terá efeito na pagina toda não importando se está no começo ou final da pagina. Related Posts with Thumbnails