Se può essere utile..
codice:
<div id=divOutput></div>
<script>
var _html = 'buongiorno a tutti
';
_html += '<DIR><LI><font class="BodyPagSottoTitoloViola">Regione:</font> <font class="BodyPagTesto"> Lombardia </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Provincia:</font><font class="BodyPagTesto"> Milano </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Superficie del territorio comunale:</font><font class="BodyPagTesto"> 10,32 Kmq </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Perimetro:</font> <font class="BodyPagTesto">21.000 M.</font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Altitudine:</font><font class="BodyPagTesto"> m. 144 s.l.m. </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Popolazione al 31-03-2006:</font> <font class="BodyPagTesto">32.900 </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Frazioni:</font>
<font class="BodyPagTesto">';
_html += 'San Damiano
';
_html += 'Baraggia
';
_html += 'Moncucco
';
_html += 'Dorderio
';
_html += '</font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Coordinate geografiche:</font>
<font class="BodyPagTesto">';
_html += 'da Roma 613 Km
';
_html += 'da Milano 13 Km
';
_html += 'da Monza 4,5 Km</font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Comuni confinanti:</font>
<font class="BodyPagTesto">';
_html += 'Monza, a nord
';
_html += 'Cologno Monzese e Cernusco sul Naviglio, a sud
';
_html += 'Carugate e Agrate Brianza, a est
';
_html += 'Cologno Monzese e Sesto';
_html += 'San Giovanni, a ovest </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Collegamenti stradali e autostradali:</font>
<font class="BodyPagTesto">';
_html += 'Autostrada A4 Milano-Venezia, uscita Agrate Brianza
';
_html += 'Tangenziale Est di Milano, uscita Brugherio
';
_html += 'Strada Provinciale Milano-Vimercate-Imbersago
';
_html += 'Strada Provinciale 208 Brugherio-Carugate
';
_html += 'Strada Provinciale 209 Brugherio-Sesto San Giovanni
';
_html += 'Strada Provinciale';
_html += '113 Monza-Cernusco sul Naviglio </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">Prefisso telefonico:</font><font class="BodyPagTesto"> 039 </font>
';
_html += '<LI><font class="BodyPagSottoTitoloViola">C.A.P.:</font><font class="BodyPagTesto"> 20047</font>
';
_html += '</LI>';
_html += 'Chiudi[img]/images/freccia_rossa_up.gif[/img]';
_html += '</P></DIR>';
var counter = 0;
var id_interval = setInterval("views()", 30);
function views() {
_char = _html.charAt(counter);
if (_char == "") return clearInterval(id_interval);
if (_char == "<") _char = /<.*?>/.exec(_html.substr(counter))
counter += (""+_char).length;
document.getElementById("divOutput").innerHTML = _html.slice(0, counter);
}