<a href="page2.html" onmouseover="document.images['rollover'].src='th_musicCat.jpg';" onmouseout="document.images['rollover'].src='th_computerCat.jpg';"> <img src="th_computerCat.jpg" width="100" height="69" border="0" id="rollover" alt="cat picture" /> </a>
<a href="page2.html" onmouseover="document.getElementById('rollover').src='th_musicCat.jpg';" onmouseout="document.getElementById('rollover').src='th_computerCat.jpg';"> <img src="th_computerCat.jpg" width="100" height="69" border="0" id="rollover" alt="cat picture" /> </a>
<head> <script> pic1 = new Image(); pic1.src = 'th_musicCat.jpg'; pic2 = new Image(); pic2.src = 'th_computerCat.jpg'; </script> </head> <body> <a href="page2.html" onmouseover="document.getElementById('rollover').src=pic1.src;" onmouseout="document.getElementById('rollover').src=pic2.src;"> <img src="th_computerCat.jpg" width="100" height="69" border="0" id="rollover" alt="cat picture" /> </a> </body>
<head> <script> pic1 = new Image(); pic1.src = 'th_musicCat.jpg'; pic2 = new Image(); pic2.src = 'th_computerCat.jpg'; pic3 = new Image(); pic3.src = 'th_phoneCat.jpg'; pic4 = new Image(); pic4.src = 'th_attackCat.jpg'; </script> </head> <body> <p> <a href="page2.html" onmouseover="document.getElementById('r1').src=pic1.src;" onmouseout="document.getElementById('r1').src=pic2.src;"> <img src="th_computerCat.jpg" width="100" height="69" border="0" id="r1" alt="cat picture" /> </a> <a href="page2.html" onmouseover="document.getElementById('r2').src=pic3.src;" onmouseout="document.getElementById('r2').src=pic4.src;"> <img src="th_attackCat.jpg" width="100" height="69" border="0" id="r2" alt="cat picture" /> </a> </p> </body>
<head> <script> pic1 = new Image(); pic1.src = 'th_musicCat.jpg'; pic2 = new Image(); pic2.src = 'th_computerCat.jpg'; pic3 = new Image(); pic3.src = 'th_phoneCat.jpg'; pic4 = new Image(); pic4.src = 'th_attackCat.jpg'; </script> </head> <body> <p><a href="page2.html" onmouseover="document.getElementById('r1').src=pic1.src;" onmouseout="document.getElementById('r1').src=pic2.src;">Link 1</a></p> <p><a href="page2.html" onmouseover="document.getElementById('r2').src=pic3.src;" onmouseout="document.getElementById('r2').src=pic4.src;">Link 2</a></p> <p><img src="th_computerCat.jpg" width="100" height="69" border="0" id="r1" alt="cat picture" /></p> <p><img src="th_attackCat.jpg" width="100" height="69" border="0" id="r2" alt="cat picture" /></p> </body>
<head> <script> pic1 = new Image(); pic1.src = 'th_musicCat.jpg'; pic2 = new Image(); pic2.src = 'th_computerCat.jpg'; pic3 = new Image(); pic3.src = 'th_phoneCat.jpg'; pic4 = new Image(); pic4.src = 'th_attackCat.jpg'; </script> </head> <body> <p><a href="page2.html" onmouseover="document.getElementById('r1').src=pic1.src;">Music</a></p> <p><a href="page2.html" onmouseover="document.getElementById('r1').src=pic2.src;">Computer</a></p> <p><a href="page2.html" onmouseover="document.getElementById('r1').src=pic3.src;">Phone</a></p> <p><a href="page2.html" onmouseover="document.getElementById('r1').src=pic4.src;">Attack</a></p> <p><img src="th_computerCat.jpg" width="100" height="69" border="0" id="r1" alt="cat picture" /></p> </body>
<head> <script> var ctr = 0; pic = new Array(); if (document.images) { for (i=0; i<5; pic[i++]=new Image()); pic[0].src = 'th_musicCat.jpg'; pic[1].src = 'th_computerCat.jpg'; pic[2].src = 'th_phoneCat.jpg'; pic[3].src = 'th_attackCat.jpg'; pic[4].src = 'th_pets.jpg'; } else { for (i=0; i<5; pic[i++]=""); document.r1 = document.r2 = ""; } </script> </head> <body> <p><a href="page2.html" onmouseover="document.getElementById('r1').src=pic[Math.floor(Math.random()*4)].src;ctr=++ctr>3?0:ctr;document.getElementById('r2').src=pic[ctr].src;" onmouseout="document.getElementById('r1').src=pic[4].src;"> <img src="th_pets.jpg" width="100" height="69" border="0" id="r1" alt="cat picture" /></a></p> <p><img src="th_pets.jpg" width="100" height="69" border="0" id="r2" alt="cat picture" /></p> </body>
<head> <script> var ctr = 0; pic = new Array(); for (i=0; i<5; pic[i++]=new Image()); pic[0].src = 'th_musicCat.jpg'; pic[1].src = 'th_computerCat.jpg'; pic[2].src = 'th_phoneCat.jpg'; pic[3].src = 'th_attackCat.jpg'; pic[4].src = 'th_pets.jpg'; function change(item, n) { document.getElementById(item).src = pic[n].src; } </script> </head> <body> <p><a href="page2.html" onmouseover="change('r1',Math.floor(Math.random()*4));ctr=++ctr>3?0:ctr;change('r2',ctr);" onmouseout="change('r1',4);"> <img src="th_pets.jpg" width="100" height="69" border="0" id="r1" alt="cat picture" /></a></p> <p><img src="th_pets.jpg" width="100" height="69" border="0" id="r2" alt="cat picture" /></p> </body>