Problem with Javascript in Lotus Notes

Post October 20th, 2006, 4:38 pm

I have designed a simple site and it displays properly in all browsers, except Lotus Notes, which gives this error:

Code: [ Download ] [ Select ]
An error has occured in the script on this page.

Line: 92
Expected: ')'
  1. An error has occured in the script on this page.
  2. Line: 92
  3. Expected: ')'


I have made modifications to this line, so character is now irrelevant, and I don't have Lotus Notes -- to view this error -- but I'm assuming it has something to do with the preload images function.

Here's the line referenced in the HTML:
In the <head>
Code: [ Download ] [ Select ]
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
  1. <script type="text/JavaScript">
  2. <!--
  3. function MM_preloadImages() { //v3.0
  4.  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  5.   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  6.   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  7. }
  8. //-->
  9. </script>


In the body tag (line 92):
Code: [ Download ] [ Select ]
<body bgcolor="#cccccc" onload="MM_preloadImages('images/slideb.jpg','images/slidec.jpg','images/slided.jpg','images/slidee.jpg','images/slidef.jpg','images/slideg.jpg',images/slideh.jpg',images/slidei.jpg',images/slidej.jpg','images/slide1.jpg')">


Thanks![/code]
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 20th, 2006, 4:38 pm

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 234 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2010 Unmelted, LLC. Driven by phpBB © 2010 phpBB Group.