JAVA SCRIPT
Java Script is a language that you can use to give your web page certain characteristics.
At this point, we are straying quite a bit from the novice or newbie level. You will need a certain level of experience in programming. We will however try to explain in as simple terms as possible how to write and apply java script functions.
Theme Navigation:
Chapter Navigation:
Where to position the script
To load the Java Script function, you place it between
and
- Two loading methods
Example 1:
... <script type="text/javascript"> function(...) { ... } </script> ...
Example 2: (We use an outside javascript)
... <script src="/Javascript/file_javascript.js" type="text/javascript"> </script> ...
You can also place the JavaScript between
and
. In the latter case, the javascript commands will be associated to the individual web page, and will not disturb the CSS.
Java Commands
There are very many commands, and we will refer you here.