Advertisement
Guest User

Untitled

a guest
May 8th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement