Difference between revisions of "Internet 2 Workshop"

From Digipool-Wiki
Jump to: navigation, search
(Getting started)
Line 41: Line 41:
  
 
<br>
 
<br>
 +
 +
 +
=== Graphic 1 ===
 +
 +
HTML-Datei: example002.htm
 +
<source lang="html4strict">
 +
<head>
 +
  <title>Test2</title>
 +
  <script type="text/javascript" src="http://www.walterzorn.de/en/scripts/wz_jsgraphics.js"></script>
 +
 +
</head>
 +
 +
<body>
 +
<script language="JavaScript" src="graphic001.js" type="text/javascript"></script>
 +
</body>
 +
</source>
  
 
== Javascript Tutorials ==
 
== Javascript Tutorials ==

Revision as of 15:22, 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"> // show a pop-up alert("Hi!");

/*

 write "done." to the webpage
  • /

document.write("done."); </source>

Online-Test: example001.htm



Graphic 1

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

  <title>Test2</title>
  		<script type="text/javascript" src="http://www.walterzorn.de/en/scripts/wz_jsgraphics.js"></script>

</head>

<body> <script language="JavaScript" src="graphic001.js" type="text/javascript"></script> </body> </source>

Javascript Tutorials