ciao a tutti, ho un problema strano, spero che qui possiate aiutarmi...
ho scaricato il seguente codice per fare una scritta con effetto wave, solo che la scritta non è likkabile anche se si trova in un pulsante....
stile
codice:<style> #theDiv { ALIGN : center; color:#990033; margin:auto; font-family: "Times New Roman", Times, serif; font-size: 13px; font-style: normal; font-weight: normal; text-decoration: none; display: block; height: 16px; width:80px; text-align: center; vertical-align: middle; line-height:16px; } </style>
codice
pulsantecodice:script language="JavaScript"> //script found on a1javascripts.com //full credit to the unknown autor function nextSize(i,incMethod,textLength) { if (incMethod == 1) { return (22*Math.abs(Math.sin(i/(textLength/3.14))) ); } if (incMethod == 2) { return (255*Math.abs(Math.cos(i/(textLength/3.14)))); } return(0) } function sizeCycle(text,method,dis) { var output = ""; for (i = 0; i < text.length; i++) { size = parseInt(nextSize(i +dis,method,text.length)); output += "<font style='font-size: "+ size +"pt'>" +text.substring(i,i+1)+ "</font>"; } if (document.all) theDiv.innerHTML = output; else if (document.getElementById){ rng = document.createRange(); el = document.getElementById('theDiv'); rng.setStartBefore(el); htmlFrag = rng.createContextualFragment(output); while (el.hasChildNodes()) el.removeChild(el.lastChild); el.appendChild(htmlFrag);} else if (document.layers){ document.theDiv.document.write("<font face='Arial'point-size=11>"+output+"</font>"); document.theDiv.document.close();} } //place your text here function doWave(n) { var theText = 'Furniture'; sizeCycle(theText,1,n); if (n > theText.length) { n=0 } setTimeout("doWave(" + (n+1) + ")", 80); } </script>
vi prego aiutatemi, non s piu che inventarmi

Rispondi quotando
e tu rispondi:
purtroppo sto ancira all'inizio....
