DOM-1
|
« |
< | § | > |
Netscape CodeStock 1999
|
Initialization code
|
var datacount = 0
model = new Array()
// Allocate the first dataset, a
// set of quotations, from this array.
arrayquotes = new Array(
"Oh dear! I shall be too late.",
... and so on ...
"Sentence first--verdict afterwards.")
// When a link is clicked, the
// quotations' sources will be revealed
// from this array.
arraysources = new Array(
"White Rabbit",
"Alice",
... and so on ...
"Red Queen")
Copyright © 1999 General Picture . Permission granted to reproduce in whole or part without charge as long as http://www.generalpicture.com is cited as source.
|