| 2007/07/11 09:42:45 PDT by kass |
Javascript lecture
-
The difference between Javascript and Java
-
Where to put Javascript
-
<script type="text/javascript"> document.write("Hello World!"); </script> -
"script" tags contain the javascript
-
can also link to javascript, via a link tag, much like CSS:
<script type="text/javascript" src="site.js"></script>
-
-
What is a function / what is a variable
-
document.write( blah blah blah );
-
Proper syntax: curly braces, semi-colons, case sensitive!, etc.
-
Calling the function in your HTML ... javascript:functionName(parameters)
-