todos os códigos de blog
sábado, 9 de abril de 2011
colocar mensagem quando entrar no blog
<script>alert('SEU TEXTO');</script>
Código Botão Topo LT
<a style="display:scroll;position:fixed;bottom:5px;right:5px;"href="#" title="Ir Para o Topo da Página"http://www.grafilinha.pt/images/SetaFrente.jpg"/></a>
Código para deixar a letras andando para frente e prá trás
se você que deixar as letras andando igual essas ai de baixo
então copie esse código que vou escrever
<MARQUEE > seu texto aqui </MARQUEE>
então se você quer essas letras andando na sua postagem crie uma postagem clique em Editar Html e cole o código e mude aonde está escrito seu texto aqui para o que você quer escrever
( código criado pelo dono do blog: Bruno Mota
então copie esse código que vou escrever
<MARQUEE > seu texto aqui </MARQUEE>
então se você quer essas letras andando na sua postagem crie uma postagem clique em Editar Html e cole o código e mude aonde está escrito seu texto aqui para o que você quer escrever
( código criado pelo dono do blog: Bruno Mota
bloquear selecão de texto código
Clique em (Design)ou( Layout) e clique em Editar HTML e da um Ctrl+f e procura a palavra <head> coloque esse código depois de <head>
<script type="text/javascript">
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>
Depois da um Ctrl+f e procure a palavra </html> coloque esse código antes de </html>
<script type="text/javascript">
disableSelection(document.body) //disable text selection on entire body of page
</script>
e clique em salvar modelo e pronto
vou ensinar o segundo jeito eu acho esse mais fácil clique em (Design)ou( Layout) clique em adicionar um Gadget e clique em HTML/JavaScript e cole esse código
<script type="text/javascript">
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>
<script type="text/javascript">
disableSelection(document.body) //disable text selection on entire body of page
</script>
(esse código foi feito pelo dono do blog: Bruno Mota
(esse código foi feito pelo dono do blog: Bruno Mota
tradutor de bandeiras código
clica em ( Desing)ou(Layout) e depois clique em adicionar um Gadget e clica em HTML/JavaScript e cole o código abaixo
<div class="widget-content">
<center><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Czh-CN&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Chinese (Simplified) BETA"><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Chinese" src="http://lh5.ggpht.com/_mcq01yDJ2uY/Sdke4C8za2I/AAAAAAAAAkU/Mpfn_ntCweU/China.png" title="Google-Translate-Chinese"/><!--– END Portuguese to Chinese (Simplified) BETA–--><!--– Add Portuguese to French –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cfr&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to French "><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to French" src="http://lh4.ggpht.com/_mcq01yDJ2uY/SdkfGSkRgfI/AAAAAAAAAkc/X4E87SASLtA/France.png" title="Google-Translate-Portuguese to French"/><!--– END Portuguese to French –--><!--– Add Portuguese to German –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cde&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to German"><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to German" src="http://lh3.ggpht.com/_mcq01yDJ2uY/Sdke3rFjMUI/AAAAAAAAAkE/o0kR0MfngXA/Germany.png" title="Google-Translate-Portuguese to German"/><!--– END Portuguese to German –--><!--– Add Portuguese to Italian –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cit&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Italian"><img alt="Google-Translate-Portuguese to Italian" style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" src="http://lh3.ggpht.com/_mcq01yDJ2uY/Sdke2xCmrPI/AAAAAAAAAj0/Jv14yyDo1i4/Italy.png" title="Google-Translate-Portuguese to Italian"/><!--– END Portuguese to Italian –--><!--– Add Portuguese to Japanese BETA –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cja&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Japanese BETA"><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to Japanese" src="http://lh5.ggpht.com/_mcq01yDJ2uY/Sdke3f2KbNI/AAAAAAAAAj8/xyGLFdUZbVY/Japan.png" title="Google-Translate-Portuguese to Japanese"/><!--– END Portuguese to Japanese BETA –--><!--– Add Portuguese to English –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cen&en=pt&en=UTF8'); return false;" title="Google-Translate-Portuguese to English "><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to English" src="http://lh4.ggpht.com/_mcq01yDJ2uY/SdkhG4bjxqI/AAAAAAAAAks/Ws6AzZdnZTw/United%20States%20of%20America%20%28USA%29.png" title="Google-Translate-Portuguese to English"/><!--– END Portuguese to English –--><!--– Add Portuguese to Russian BETA –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cru&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Russian BETA "><!--– END Portuguese to Russian BETA –--><!--– Add Portuguese to Spanish –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Ces&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Spanish "><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to Spanish" src="http://lh3.ggpht.com/_mcq01yDJ2uY/Sdke312ethI/AAAAAAAAAkM/KeACgltRc38/Spain.png" title="Google-Translate-Portuguese to Spanish"/></a></center>
</div>
(esse codigo foi feito pelo dono do blog: bruno mota)
<div class="widget-content">
<center><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Czh-CN&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Chinese (Simplified) BETA"><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Chinese" src="http://lh5.ggpht.com/_mcq01yDJ2uY/Sdke4C8za2I/AAAAAAAAAkU/Mpfn_ntCweU/China.png" title="Google-Translate-Chinese"/><!--– END Portuguese to Chinese (Simplified) BETA–--><!--– Add Portuguese to French –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cfr&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to French "><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to French" src="http://lh4.ggpht.com/_mcq01yDJ2uY/SdkfGSkRgfI/AAAAAAAAAkc/X4E87SASLtA/France.png" title="Google-Translate-Portuguese to French"/><!--– END Portuguese to French –--><!--– Add Portuguese to German –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cde&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to German"><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to German" src="http://lh3.ggpht.com/_mcq01yDJ2uY/Sdke3rFjMUI/AAAAAAAAAkE/o0kR0MfngXA/Germany.png" title="Google-Translate-Portuguese to German"/><!--– END Portuguese to German –--><!--– Add Portuguese to Italian –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cit&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Italian"><img alt="Google-Translate-Portuguese to Italian" style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" src="http://lh3.ggpht.com/_mcq01yDJ2uY/Sdke2xCmrPI/AAAAAAAAAj0/Jv14yyDo1i4/Italy.png" title="Google-Translate-Portuguese to Italian"/><!--– END Portuguese to Italian –--><!--– Add Portuguese to Japanese BETA –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cja&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Japanese BETA"><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to Japanese" src="http://lh5.ggpht.com/_mcq01yDJ2uY/Sdke3f2KbNI/AAAAAAAAAj8/xyGLFdUZbVY/Japan.png" title="Google-Translate-Portuguese to Japanese"/><!--– END Portuguese to Japanese BETA –--><!--– Add Portuguese to English –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cen&en=pt&en=UTF8'); return false;" title="Google-Translate-Portuguese to English "><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to English" src="http://lh4.ggpht.com/_mcq01yDJ2uY/SdkhG4bjxqI/AAAAAAAAAks/Ws6AzZdnZTw/United%20States%20of%20America%20%28USA%29.png" title="Google-Translate-Portuguese to English"/><!--– END Portuguese to English –--><!--– Add Portuguese to Russian BETA –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Cru&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Russian BETA "><!--– END Portuguese to Russian BETA –--><!--– Add Portuguese to Spanish –--></a><a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=pt%7Ces&hl=pt&ie=UTF8'); return false;" title="Google-Translate-Portuguese to Spanish "><img style="border: 0px solid ; cursor: pointer; width: 25px; height: 25px;" alt="Google-Translate-Portuguese to Spanish" src="http://lh3.ggpht.com/_mcq01yDJ2uY/Sdke312ethI/AAAAAAAAAkM/KeACgltRc38/Spain.png" title="Google-Translate-Portuguese to Spanish"/></a></center>
</div>
(esse codigo foi feito pelo dono do blog: bruno mota)
Assinar:
Postagens (Atom)