Last changed 12 Jan 2002 ............... Length about 350 words (3000 bytes).
This is a WWW document maintained by Steve Draper, installed at http://www.psy.gla.ac.uk/~steve/search.html.

Javascript demo page

Some links

Demos (obsolete)

Notes of ToDo

Ideal motd: onFocus reload AND periodic reload; onBlur-stop the reloads?
Does it (test this) still reload if IE4 is hidden?  Window shrunk?

Get code to show coords (in status bar)
	a) in window coords
	b) in IMG coords

Get effect of Find (arg) to work

Junk / chunks of code

document.write('Hallo
'); now = new Date(); document.write('This page was (re)loaded at: ' + now.toGMTString() + '

'); // str = document.read(); now = new Date(); document.write('The time is now: '); yy2 = now.getYear(); mm2 = now.getMonth(); dd2 = now.getDate(); hr2 = now.getHours(); min2 = now.getMinutes(); document.write(yy2); document.write(' year
'); document.write(mm2); document.write(' month
'); document.write(dd2); document.write(' day
'); document.write(hr2); document.write(' hours
'); document.write(min2); document.write(' min
'); document.write('

');


 {PageLastUpdated();} 
var times=history.length; document.write('You\'ve been to '+times+ ' site(s) in this browser session.'); Click HERE to quit your browser!!!!! ==== pagetimeStr = document.lastModified; t1 = Date.parse(pagetimeStr); loadtime = new Date(); t2 = loadtime.getTime(); x = (t2 - t1) / 60000; x4 = Math.round(parseFloat(x.toString())); x2 = Math.round(x); document.write("Pagetime: "); document.write(pagetimeStr); document.write('
'); document.write("Pagetime: "); document.write(t1); document.write('
'); document.write("Loadtime: "); document.write(loadtime); document.write('
'); document.write("Loadtime: "); document.write(t2); document.write('
'); document.write("Difference: "); document.write(x4); document.write(' mins.
'); document.write("type: "); document.write(typeof x); document.write('
'); < A href = "javascript:window.location='' + document.bigform.input.value;">1< /A> < input type=SUBMIT name=qwer value=1 onclick="javascript:document.bigform.method='POST'; document.bigform.hdl.value = document.bigform.input.value; document.bigform.action = '< ?=$url1?>'; "> }

What is JS good for?

Notes on it

Comments don't fully work: "<!--" must be a special comment token in JS

Putting JS functions in HEAD? ...