Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Abiriguitwoelvs

letras rolando em jsp...

Recommended Posts

Seguinte,DE modo facil, faça em marquee:<marquee> digite o texto aqui</marquee>De modo dificil, nao estou lembrado... posso tentar ver se tenho no backup, me lembre enviando um email a mim, em pvt, ok?[]sRodney

Compartilhar este post


Link para o post
Compartilhar em outros sites

Ae fiz esse código mas se você quiser mudar alguma coisa.<script language="JavaScript"><!-- n = (document.layers) ? 1:0ie = (document.all) ? 1:0function cncl(){if (n){if (!window.opener.closed){window.opener.document.writeln('<HTML><HEAD><TITLE>Reno</TITLE></HEAD><BODY>')window.opener.document.close();}}self.close();}function init() {grey = new dynLayer("greyDiv")grey.circle(80,2,0,null,1,4,90)}function dynLayer(id) { if (n) { this.css = document.layers[id] this.ref = document.layers[id].document this.x = this.css.left this.y = this.css.top } else if (ie) { this.css = document.all[id].style this.ref = document this.x = this.css.pixelLeft this.y = this.css.pixelTop } this.obj = id + "Object" eval(this.obj + "=this") this.moveBy = dynLayerMoveBy this.moveTo = dynLayerMoveTo this.circle = dynLayerCircle this.circleSlide = dynLayerCircleSlide}function dynLayerMoveBy(x,y) { this.x += x this.css.left = this.x this.y += y this.css.top = this.y}function dynLayerMoveTo(x,y) { this.x = x this.css.left = this.x this.y = y this.css.top = this.y}function dynLayerCircle(radius,angleinc,angle,endangle,vertical,horizontal,speed,fn) { if (!this.circleActive) { var centerX = this.x - horizontal*radius*Math.cos(angle*Math.PI/180) var centerY = this.y + vertical*radius*Math.sin(angle*Math.PI/180) if (endangle!=null) { angleinc = Math.abs(angleinc) if (endangle<angle) angleinc*=-1 } this.circleActive = 1 this.circleSlide(radius,angleinc,angle,endangle,vertical,horizontal,centerX,centerY,speed,fn) }}function dynLayerCircleSlide(radius,angleinc,angle,endangle,vertical,horizontal,centerX,centerY,speed,fn) { if (!fn) fn = null if (this.circleActive && (endangle==null || endangle!=null && Math.abs(angleinc)<Math.abs(endangle-angle) )) { angle += angleinc var x = centerX + horizontal*radius*Math.cos(angle*Math.PI/180) var y = centerY - vertical*radius*Math.sin(angle*Math.PI/180) this.moveTo(x,y) setTimeout(this.obj+".circleSlide("+radius+","+angleinc+","+angle+","+endangle+","+vertical+","+horizontal+","+centerX+","+centerY+","+speed+",\""+fn+"\")",speed) } else { this.circleActive = 0 if (endangle!=null) { var x = Math.round(centerX + horizontal*radius*Math.cos(endangle*Math.PI/180)) var y = Math.round(centerY - vertical*radius*Math.sin(endangle*Math.PI/180)) this.moveTo(x,y) } eval(fn) }}// --></script><body onLoad="init()"><p align="center"> <br></p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"> </p><p align="center"><br></p><div ID="greyDiv"STYLE="position:absolute; left:640; top:80; width:250; height:50; visibility:visible;"><nobr><fontCOLOR="#FFFFFF" SIZE="4" FACE="Comic Sans MS">

Compartilhar este post


Link para o post
Compartilhar em outros sites

Fiz esse tbm:<script><!--function highlight(x){document.form.elements[x].focus()document.form.elements[x].select()}//--></script><script language="JavaScript"><!--var isNS = (navigator.appName == "Netscape");var HIDDEN = (isNS) ? 'hide' : 'hidden';var VISIBLE = (isNS) ? 'show' : 'visible';function startme(){//position de départ horizontalelayer2.left = 680;//position de départ verticalelayer2.top = 380;showObject(layer2);//position de départ horizontale, position d'arrivée horizontale, position de départ verticale, position d'arrivée verticaleslidel2(680,10,380,5);}function slidel2(from,to,from1,to1) { if (from > to) { layer2.left = (from -= 7);} if (from1 > to1) {layer2.top = (from1 -= 4);}if ((from > to) || (from1 > to1)){setTimeout('slidel2(' + from + ',' + to + ',' + from1 +',' + to1 + ')', 25);}}function showObject(object) {object.visibility = VISIBLE;}function hideObject(object) {object.visibility = HIDDEN;}//--></script><style type="text/css">.dhtmlText { COLOR: #000080; FONT-FAMILY: "Times New Roman", Times, serif; FONT-SIZE: 24pt; FONT-STYLE: normal; FONT-WEIGHT: bold; LEFT: 300px; POSITION: absolute; TOP: 5px; VISIBILITY: hidden; Z-INDEX: 3}</style></head><body aLink="#ff0000" bgColor="#ffffff" link="#000080" onload="startme()" text="#000000"vLink="#551a8b"><div class="dhtmlText" id="layer2"><p>Script Zone </p></div><script language="JavaScript">var layer2 = (isNS) ? document.layer2 : document.all.layer2.style;</script>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Esse script é legal D++ quando á pessoa passa o mouse ela foge.<script language="javascript"><!--raio=100x0=300y0=150ang=0function teste(){fig.style.posLeft=Math.round(Math.random()*700)fig.style.posTop=Math.round(Math.random()*300)}//--></script></head><body ><p><img border="0" onMouseOver="teste()" name="fig" style="position:absolute" src="COLOQUE A FIGURA QUI" width="131" height="158" ></p>

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.