-
ho un codice html
ke riguarda un effetto testo ke vibra,mi succede ke se lo metto su home page l'effetto svanisce e vedo solo la sagoma senza alcune effetto,mentre se copio su una pagina vuota l'effetto funziona come mai come posso
mettere su home e far andare l'effetto??
-
Posta un linl di esempio.
Ciaooooo!!!!!
-
eccol il codice
<head><style>
.let{
color:white;
font-family:Verdana;
font-weight:bold;
width:500;
filter:Shadow (Color="#6699CC", Direction="135")wave(Add="0", Phase="4", Freq="9", LightStrength="20", Strength="1") ;
}
</style>
<script language="JavaScript">
/*
Animated Back and Switch
Copyrighte Lars Bosboom (http://home.planet.nl/~asattler)
Add some shock to your site, visit DHTML Shock.com
*/
// Prelevato e descritto su http://www.web-link.it
//change font and other options in style sheet .let
var regel = 5; //row to start with
var size = 20; //size of font
var delay = 1200; //Delay between messages in msecs
var speed = 20; //Hmmmmmm
var step = 10; //Size of each step
var sent = new Array()
{
sent[0] = "Il tuo testo";
sent[1] = "con effetti speciali!";
sent[2] = "Questo e molto altro";
sent[3] = "visitando";
sent[4] = "il sito:";
sent[5] = "Web-Link.it";
}
sent[sent.length] = sent[0];var veran = 0;var num = 0;var x = 0;//Don't change
function moto(){output = "";for(letter = 0;letter<sent[regel+1].length;letter++){
if(veran == letter){if(x==0){num=num+step;}else{num=num-step;}gr = size-num;
if(gr < 1){x=1;gr=1;}if(gr>size)gr=size;
output += "<font style='font-size:"+gr +"pt'>"+sent[regel+x].substring(letter, letter+1)+"</font>";
if(num < 0 && x==1){veran++;x=0;}}else{if(veran > letter){
output += "<font style='font-size:"+size +"pt'>"+sent[regel+1].substring(letter, letter+1)+"</font>";
}else{output += "<font style='font-size:"+size +"pt'>"+sent[regel].substring(letter, letter+1)+"</font>";}}}
return output;}function startmot(){if(regel==sent.length-1)regel=0;balk.innerHTML = moto();
if(veran==sent[regel+1].length){regel++;veran = 0;setTimeout("startmot()", delay);}else{
setTimeout("startmot()", speed);}}
// -->
</script>
</head><body onload="startmot()">
<body><table style='cursor:hand' onclick=location="http://www.web-link.it" align="center" id="tafel" bgcolor="lightblue" width=500 height="60">
<tr>
<td bgcolor="666666">
<div class='let' ID="balk" align="center"></div>
</td></tr></table>
</body>
-
prova sto codice
in una ppagina qualsiasi va ma nella hiome nulla
-
Intendevo posta un link dove lo script non funziona.
Ciaoooo!!!!
-
www.
caltagirone79.altervista.org
-
Probabilmente sono gli altri script js che danno fastidio (ho notato più di un onload per esempio).
Dovresti cercare di limitare l'uso di questi js, che personalmente non trovo affatto belli tra l'altro....
Ciaooooo!!!!!
-
nn sono pratico
dimmi cosa sono gli scritp e come risolvo il tutto
hai un conatto messengere x favore
-
Prova a togliere gli altri script che hai inserito (quello del testo scorrevole, ecc).
Ciaoooo!!!
-
nulla
hanno provato anke altre xsone
e quel codice in una home page nn va affatto
mi daresti un contatto messenger?almeno parliamo meglio ao anke yahoo
-
Cosa vuol dire anche altre persone hanno provato?
Il problema cmq è nella tua home, perchè da solo, come tu stesso hai detto, funzia.
Il problema secondo me è appunto in tutti gli altri script che hai messo (troppi!).
Potresti toglierne uno ad uno e provare quando funziona.
Sono molto occupato, non mi collego a msn.
Ciaooo!!!!