|
Although technically JavaScript is not Java, it's syntax is very similar.
The truth is, it was based in Java language syntax.
JavaScript is different because it's syntax is much easier that Java language,
and because it is intended to be run as a script, i.e., without compilation.
- JavaScript Hello World
-
This is a very simple starting point to the JavaScript language.
If this is your first time you sould not miss it.
- Animated Links
-
You guessed it.
This is how I make those fancy buttons in the left of my page.
- Pull Down Menus
-
This is a trick to emulate those menus found im most graphical user interface
programs.
Unfortunately it relies in tags that don't work well in all browsers.
We will see how to make it work for both Netscape 4.x and MSIE 4.x.
Of course you must be very careful with this kind of trick, and use it only
in controlled environments, i.e., you know in advance the kind of browsers
your audience is using (for example you Intranet), and not for the general
public in the Internet.
- Links activated by "POST"
-
Some times you may want to use the method POST instead of GET
in your anchor tags.
The difference, in the user perspective, is that you don't change page,
i.e., the POST doesn't appear in your browser's command line, or
history list.
This can be used whenever you don't want users to be able to bookmark
some URL, or reach a page directly.
|