Salve a tutti sono nuovo di questo forum, e volevo sapere che opportune modifiche devo fare a questo jscript, affinchè non ci sia il tasto per caricare lo script, ma esso venga caricamento automaticamente all' apertura della pagina. E' uno script che ho scaricato da questo sito. Grazie :gren:

Ciao.




<HTML>
<HEAD>

<!-- Codice scaricato gratuitamente da HTML.it, il sito italiano sul Web publishing
http://www.html.it -->

<TITLE>Esempi Javascript: esempio pratico </TITLE>

<SCRIPT>

<!-- Activate Cloaking Device

//************************************************** ****

//

// Freak Out - Displaying C Drive

//

// by Tim Wallace (timothy@essex1.com)

//

//************************************************** *****



// Called by View Source button - displays text file of source.

function viewSource()

{

alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.");

top.window.location="js-freak.txt";

}



// Deactivate Cloaking -->

</SCRIPT>


</HEAD>

<BODY bgcolor="white">

<CENTER><FORM>

<INPUT TYPE="button" Value=" Visualizza C|/ " onClick="window.open('file:///C|/', 'display', 'scrollbars=1')">

</FORM></CENTER>




</body>
</html>

<!-- w w w . h t m l . i t --!>