JAVASCRIPT

<a href="javascript:void(0);" onmouseover="document.images['img0'].src='b.gif';" onmouseout="document.images['img0'].src='a.gif';"><img src="a.gif" NAME="img0"></a>

show what happens when image is swapped without being preloaded, over a network

 

------

1. preload automatically

2. call function preload from onload, using same hardwired new Image() statements

------

show: SECONDARY ROLLOVERS

------

switch using function:

function switchImg(name,source){
   if (document.images) {
      document.images[name].src = source;
      // or: document.name.src = source;
   }
}

check for existence of rollover image??? no. it just causes download.

--------

show "document.write" inline? with "navigatior.appName"?

show/hide layers

-------

show a simple function with an alert call in the head of the document?
show passing values to a function this way ... THEN do a preload function?