Titolo invisibile, qaulcuno mi dice come?
Salve sono da poco passato ad altervista perchè permette una grande personalizzazione del proprio sito tramite jquery css ecc.
Premetto che sono praticamente nuovo del settore ed è un miracolo che sia riuscito ad installare phpbb3 :shock: e a inserire un template.
Ho da poco cominciato a personalizzare il forum, quando ho incontrato un problema:
ho trovato questo script per rendere animato il titolo
Codice HTML:
<script>
//Arrow Head title- By Dynamic Drive
//Based on status bar script by Jason Rex (wonil4@hotmail.com, http://www.syred.net)
//Visit http://www.dynamicdrive.com for full source code
//change title text to your own
var titletext="lol"
var thetext=""
var started=false
var step=0
var times=1
function welcometext()
{
times--
if (times==0)
{
if (started==false)
{
started = true;
document.title = titletext;
setTimeout("anim()",1);
}
thetext = titletext;
}
}
function showstatustext(txt)
{
thetext = txt;
setTimeout("welcometext()",4000)
times++
}
function anim()
{
step++
if (step==23) {step=1}
if (step==1) {document.title='FireCraft'}
if (step==2) {document.title='FireCraft'}
if (step==3) {document.title='FireCraft'}
if (step==4) {document.title='FireCraft'}
if (step==5) {document.title='FireCraft'}
if (step==6) {document.title='FireCraft'}
if (step==7) {document.title='FireCraft'}
if (step==8) {document.title='FireCraft'}
if (step==9) {document.title='FireCraft'}
if (step==10) {document.title=''}
if (step==11) {document.title='HellCome!'}
if (step==12) {document.title=''}
if (step==13) {document.title='HellCome!'}
if (step==14) {document.title='HellCome!'}
if (step==15) {document.title='HellCome!'}
if (step==16) {document.title='HellCome!'}
if (step==17) {document.title='HellCome!'}
if (step==18) {document.title='HellCome!'}
if (step==19) {document.title='HellCome!'}
if (step==20) {document.title='HellCome!'}
if (step==21) {document.title='HellCome!'}
if (step==22) {document.title=''}
setTimeout("anim()",200);
}
if (document.title)
window.onload=onload=welcometext
</script>
Che ho opportunamente modificato, il problema è che vorrei che il titolo "lampeggiasse" quindi ho messo uno spazio vuoto tra le virgolette:
Codice HTML:
(step==22) {document.title=''}
tutto ok se non fosse che al posto di un titolo vuoto viene fuori il link del forum ._." avete delle soluzioni? se non sono stato chiaro e non avete capito bene il problema scrivete che chiarimenti vi servono.
Spero possiate aiutarmi o.o