Difference between revisions of "Internet 2 Workshop"

From Digipool-Wiki
Jump to: navigation, search
(Getting started)
(Getting started)
Line 30: Line 30:
 
<source lang="javascript">
 
<source lang="javascript">
 
   alert("Hi!");
 
   alert("Hi!");
 +
 +
  document.write("done.");
 
</source>
 
</source>
  

Revision as of 07:42, 11 May 2011

Javascript for Artists

Javascript-Tutorial mit kreativer Zielsetzung


Tools

  • Textbearbeitungsprogramm zum Schreiben des Codes TextWrangler
  • FTP-Programm zum Hochladen des Codes auf den WWW-Sever Cyberduck


Examples

Getting started

HTML-Datei: example001.htm <source lang="html4strict"> <head>

  <title>Test</title>
    <script language="JavaScript" src="meinscript.js" type="text/javascript">
  </script>

</head>

<body> </body> </source>

JavaScript-Datei: meinscript.js <source lang="javascript">

 alert("Hi!");
 document.write("done.");

</source>

Online-Test: example001.htm


Javascript Tutorials