Cole este codigo depois de <head> ou depois de </style>
<script type="text/javascript">
// <![CDATA[
var speed=100; //
var height=3; //
var alink="/"; // page to link text to (set to ="" for no link)
/****************************
****************************/
var wobtxt, uii, wobcnt=0;
window.onload=function() { if (document.getElementById) {
var i, wobli;
uii=document.getElementById("AQUI VOCÊ COLOCA O NOME DA SUA DIV SÓ O NOME NAO COLOQUE NADA DE DIV ID OU CLASS”);
wobtxt=uii.firstChild.nodeValue;
while (uii.childNodes.length) uii.removeChild(uii.childNodes[0]);
for (i=0; i<wobtxt.length; i++) {
wobli=document.createElement("span");
wobli.setAttribute("id", “wobb"+i);
wobli.style.position="relative";
wobli.appendChild(document.createTextNode(wobtxt.charAt(i)));
if (alink) {
wobli.style.cursor="pointer";
wobli.onclick=function() { top.location.href=alink; }
}
uii.appendChild(wobli);
}
setInterval("uiir()", speed);
}}
function uiir() {
for (var i=0; i<wobtxt.length; i++) document.getElementById("wobb"+i).style.top=Math.round(height*Math.sin(i+wobcnt))+"px"
wobcnt++;
}
// ]]>
</script>
sábado, julho 6
Assinar:
Postar comentários (Atom)
Sobre você chupa chups muffin candy pie bonbon icing muffin cake chupa chups. Marshmallow danish tiramisu gingerbread jelly-o gummies applicake. Applicake pudding candy canes lollipop caramels ice cream pie lemon drops chupa chups. Topping icing cupcake applicake powder danish carrot cake candy canes. Powder wafer dessert. Biscuit biscuit applicake toffee jelly gingerbread biscuit.
Nenhum comentário:
Postar um comentário