In the previous lecture:
- Images - compression, usage and attributes
In this lecture:
2nd edn, O'Reilly & Associates, Inc.
- Stein, L.D. How To Set Up and Maintain a Web Site
2nd edn, Addison Wesley 1997, Chpt10.
- Goodman, D. Dynamic HTML: The Definitive Reference
O'Reilly & Associates, Inc.
JScript and ECMAScript.
- Java is a complete programming language which may be used generally
as well as on the Web.
embedded in an HTML document.
browser when it receives an HTML document containing code.
Acrobat and Macromedia Dreamweaver. Netscape servers also use server-side
slow Internet connections.
open including the document in which the script itself resides.
the forward & backward buttons.
(eg. self-checking fill-out forms) and dynamically created HTML pages. It
is also an integral component of Dynamic HTML (D-HTML). More on this
HAL, the starship's computer is behaving strangely. He
has killed all the ship's crew except for you. In an emergency (like now)
hit this panic button.
There, now that's not so bad is it? You just asked your browser to execute
- The source <HEAD> of this document (have a look!) contains some
alert("Daisy, Daisy, give me your answer do.\n" +
"I'm half crazy, all for the love of you.\n" +
"Will you marry me Dave?");
- <SCRIPT> & </SCRIPT> tags identify their contents as
- A function named daisy is defined.
- Function daisy calls Netscape's built in 'alert' dialogue
- Check the source code to see how comments work and how HTML comments
- The source <BODY> of this document (have a look too!) contains
<INPUT TYPE="button" NAME="myButton"
VALUE="Panic Button" onClick="daisy()">
- This creates a form with a single element of TYPE button.
- This is about as interesting (and as useful) as a "Hello World" programme!
Dave: Open the pod bay door HAL!
HAL: I'm sorry Dave, I can't do that.
Did you de-activate HAL? Or are you doomed to be de-activated yourself?
- The alert, prompt and confirm dialogue boxes have all
been used above.
of the C programming language.
This lecture's key point(s):
an HTML document.
checking, and much more...
courseware | FIT5900
Alan Dorin & Jon McCormack 1999,2000