Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.92 KB  |  views: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. JavaScript Error in IE8 when passing list of images to a function
  2. function MM_reloadPage (init) {  //reloads the window if Nav4 resized
  3.   if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  4.      document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
  5.   }}
  6.   else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)       location.reload();
  7.  }
  8.  MM_reloadPage(true);
  9.  
  10.  </script>
  11.   </head>
  12.  
  13.   <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onLoad="MM_preloadImages('images/tv_aura_2.jpg','images/tv_aura_4.jpg','images/tv_bk_2.jpg','images/tv_dia_2.jpg','images/tv_gsk_2.jpg','images/tv_gsk_4.jpg','images/tv_hutch_2.jpg','images/tv_mini_2.jpg','images/tv_poppy_2.jpg','images/tv_red_2.jpg','images/tv_island_2.jpg','images/tv_veet_2.jpg')">
  14.        
  15. The value of the property 'MM_preloadImages' is null or undefined, not a Function
  16.  object
clone this paste RAW Paste Data