Script!

andreathedove

Utente Attivo
17 Mar 2003
175
0
0
46
www.allinonenet.it
Ciao ragazzi,
ho questo script ch e lo potete veder ein funziona qui http://www.allinonenet.it

Vorrei arrangiar einq ualche modo lo script con queste modifiche:

Il secondo layer LlA MAGIA DI INTERNET!" vorrei che si fermasse una volta finito di scrivere, che si fermasse e che rimanesse ferma come allinonenet.it...

Poi vorrei che sotto le due scritte potessi scrivere un frase di timpo entra con il collegamento...

Questo è lo script

---------------------------------------------------
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Andrea The Dove">
<META NAME="GENERATOR" CONTENT="Mozilla/4.03 [it] (Win95; I) [Netscape]">
<TITLE>AllinOneNet - La poesia dell'Anima e del Cuore!</TITLE>
<style type="text/css">
#divWrite {position:absolute; top:170px; left:0px; width:100%; visibility:hidden;}
#divWrite2 {position:absolute; top:250px; left:200px; width:300px; visibility:hidden}
</style>


<script language="JavaScript" type="text/javascript">
/**********************************************************************************
WriteText
* Copyright (C) 2001 Thomas Brattli
* This script was released at DHTMLCentral.com
* Visit for more great scripts!
* This may be used and changed freely as long as this msg is intact!
* We will also appreciate any links you could give us.
*
* Made by Thomas Brattli
*
* Script date: 09/04/2001 (keep this date to check versions)
*********************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
this.ver=navigator.appVersion
this.agent=navigator.userAgent
this.dom=document.getElementById?1:0
this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
this.ie=this.ie4||this.ie5||this.ie6
this.mac=this.agent.indexOf("Mac")>-1
this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
return this
}
var bw=lib_bwcheck()
//Here are the variables you have to set:

//There are 2 ways this script can work.
// 0 = WriteText
// 1 = RemoveText
wWorks = 0

var wText = "www.allinonenet.it" //The text you want write out
var wFontsize = 70 //Set the fontsize you want
var wColor = "#003300" //The text color
var wAlign = "center" //the alignment of the text, you can choose center, right or left.
var wSpeed = 150 //Set the speed you want it to write in (in milliseconds between each letter)
var wFont = 'arial black,arial,helvetica,sans-serif' //The font face
var wHide = false //do you want it to hide when its done? (true or false)
var wHidewait = 1000 //Set the time you want it to wait before it hides


/*You can remove this if you don't wan't it to start right away.
You can have it start if someone clicks a link (make a link like this:
<a href="http://www.allinonenet.it" onclick="writeInit()">Click to writetext</a>)*/
onload = writeInit;

/********* You shouldn't really have to set anything below this point ***********/
//Object functions
function makeWriteObj(obj,text,size,color,align,speed,font,hide,hidewait,works){
this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?document.layers[obj]:0;
this.writeref=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj].document:0;
this.text=text; this.size=size; this.color=color; this.align=align; this.speed=speed;
this.font=font; this.hide=hide; this.hidewait=hidewait; this.writeWrite=b_writeWrite;
this.writeText=b_writeText; this.removeText=b_removeText; this.works=works; this.write=b_write
if(bw.dom || bw.ie4){ //Setting the style properties
this.css.fontFamily=this.font; this.css.fontSize=this.size+"px"; this.css.color=this.color;
this.css.textAlign=this.align
}
this.obj = obj + "Object"; eval(this.obj + "=this"); return this
}
function b_write(num,fn){
if(!fn) fn=""
if(!this.works) this.writeText(num,fn)
else this.removeText(fn)
}
function b_writeWrite(text){
if(bw.ns4){
this.writeref.write('<p style="text-align:'+this.align+'; font-size:' +this.size+'px; font-family:'+this.font+'; color:'+this.color+'">'+text+'</p>')
this.writeref.close()
}else this.writeref.innerHTML = text
}
function b_writeText(num,fn){
if (num<=this.text.length){
wtext = this.text.substr(0,num)
this.writeWrite(wtext)
num ++
setTimeout(this.obj+".writeText("+num+",'"+fn+"')",this.speed)
}else{
if(this.hide) setTimeout(this.obj+".css.visibility='hidden'",this.hidewait);
eval(fn)
}
}
function b_removeText(fn){
if (this.text.length>0){
this.text = this.text.slice(0,this.text.length-1)
this.writeWrite(this.text)
setTimeout(this.obj+".removeText('"+fn+"')",this.speed)
}else{
if(this.hide) setTimeout(this.obj+".css.visibility='hidden'",this.hidewait);
eval(fn)
}
}
/*Initiates the object, shows it and starts the zoom
****************************************************************************/
function writeInit(){
if(bw.bw){
oWrite = new makeWriteObj('divWrite',wText,wFontsize,wColor,wAlign,wSpeed,wFont,wHide,wHidewait,wWorks)
//Change the line below to: oWrite.write(0) if you only have one object.
oWrite.write(0,'oWrite2.css.visibility="visible";oWrite2.write(0)')
oWrite.css.visibility = "visible"

//Another object, just remove this line if you only want one object. It's just to show you how can have more objects.
oWrite2 = new makeWriteObj('divWrite2',"La magia di internet!",20,"gray","left",100,"Verdana,Arial",1,500,0)
}
}
</script>

</head>
<body>
<div id="divWrite">AllinOneNet</div>
<div id="divWrite2">La magia di internet!</div>
<div align=center><a href=http://www.allinonenet.it/go.asp?sn=Home><font face=tahoma size=4 color=#608777><b>[ entra ]</b></font></a></div>
</body>
</html>
-------------------------------------------------------
mi potete aiutare :) :)

ciao e grazie
andrea
 
Discussioni simili
Autore Titolo Forum Risposte Data
F Somma di più tabelle da script Javascript 0
L Script per convertire numeri in parole Javascript 2
H Eliminazione script. Photoshop 0
S Script Google Translate scomparso HTML e CSS 3
P lanciare script asp (o php) da jquery Javascript 1
G Script notifiche dekstop aiuto Javascript 0
G [PHP] Creare script di prenotazione con controllo disponibilità. PHP 7
P Passare solo alcuni parametri a script per CSV PHP 0
M Collegamento tra form html e script php PHP 4
F Script java elenco alfabetico non funziona Javascript 3
F Script non funzionante. Devo elencare in ordine alfabetico un elenco di nominativi, ma lo script non Javascript 2
P Script upload immagini jQuery 0
M Premature end of script headers PHP 1
Cosina script data aggiornamento pagina Javascript 1
R Distribuire uno Script "Facebook Auto Post" PHP 0
F Creazione script Tv Presentati al Forum 1
N Script elenco file HTML HTML e CSS 5
felino PHP e script generazione file excel PHP 2
MarcoGrazia Se non sai se riceverai da GET o da POST, puoi verificarlo e far scegliere allo script. Snippet PHP 0
Beppe2 Ritardare esecuzione script Javascript 2
R Primo script in PHP / CSS PHP 4
felino Script PHP per leggere un file JSON. autenticazione? PHP 4
T [a pagamento] programmatore PHP che mi aiuti a migrare gli script da vecchia versione PHP a nuova Offerte e Richieste di Lavoro e/o Collaborazione 1
T script jquery non funziona più dopo il passaggio a MVC jQuery 5
F Aiuto java script Javascript 2
Max 1 [PHP] Script che funziona in locale e non online PHP 16
K Help: problema con uno script di booking in php! PHP 0
O [PHP] inviare dati da form e script ajax PHP 0
P [PHP] Aggiungere un mio script a prestashop? PHP 10
D [Javascript] inserire uno script in un file php Javascript 6
Gabriele15497514 php testo errato durante la lettura del file txt quando lo script viene eseguito contemporaneamente PHP 3
R [Javascript] Aiuto su questo script Javascript 2
M [HTML] Stesso script su 2 blog CMS (Content Management System) 4
romeocharly [PHP] Script per rinominare in automatico le immagini inviate da ftp PHP 0
elpirata [Javascript] Lo script alle volte funzione altre volte no Javascript 0
A [PHP] Script con array con numeri che iniziano per 00 PHP 2
F [HTML] Failed script su coffee cookies HTML e CSS 1
TpD [PHP] Script per organizzazione presenza eventi PHP 3
D [PHP] script che invii una mail automatica dopo risposta ad una discussione di un forum PHP 0
T interpretare uno script php non fatto da me... PHP 3
Cosina Modifica script textarea jQuery 0
O Script PHP e loro visibilità PHP 4
A [PHP] Script Ip camera su altervista senza sottocartelle PHP 6
M [PHP] Problema script ricezione e invio posta... PHP 1
Y Codice AdSense su script php PHP 4
L [PHP] Problema Script 'Not Found' PHP 4
webmachine [PHP] Script per censurare parole PHP 4
L [HTML] Domanda: Utilizzo script HTML e CSS 0
C richiamare una funzione in un altro script php PHP 1
otto9due GDPR 25 Maggio - script per attivare analytics, facebook ecc.. dopo il consenso. jQuery 14

Discussioni simili