Mas2, mbak2, tanya nih...

Misalnya saya punya javaskrip gini

<SCRIPT language=JavaScript>
<!--
// preload images function
 
function preload()
  {
    if (document.images){
                 
        menu1_off=new image();
        menu1_off.src="menu1_off.gif"        

        menu2_off=new image();
        menu2_off.src="menu2_off.gif"        

        menu3_off=new image();
        menu3_off.src="menu3_off.gif"

        menu1_on=new image();
        menu1_on.src="menu1_on.gif"        

        menu2_on=new image();
        menu2_on.src="menu2_on.gif"        

        menu3_on=new image();
        menu3_on.src="menu3_on.gif"
      }
  }

// rollovers, combine the onmouseover and onmouseout
function rollover(imgname,stats)
  {
         
document.write('onmouseover="document.images[imgname].src=eval(imgname+'_on.src'); 
                                                       window.status=stats; return 
true;"                         
                                
onmouseout="document.images[imgname].src=eval(imgname+'_off.src'); 
                                                       window.status=''; return 
true;"');
  }
         
file://-->
</SCRIPT>

koq error yah....
help donk.....

Kirim email ke