Solved

HTML/Javascript Error: Object Expected in <body onLoad="MM_preloadImages('...">

Posted on 2008-06-10
7
5,085 Views
Last Modified: 2012-06-21
I'm getting an error: object expected when I open this webpage. I want to at least diagnose the problem and maybe get a solution as well.

The error is given for char 181 of this code segment.

If needed I can upload all of the html file.
<body onLoad="MM_preloadImages('Buttons/zcompany.png','Buttons/zproducts.png','Buttons/zservices.png','Buttons/zsoftware.png','Buttons/zlibrary.png','Buttons/zcontact.png','Buttons/zhome.png'); startPix()">

Open in new window

0
Comment
Question by:lyellr
  • 4
  • 2
7 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 21751096
Yes or give a URL to the page, please

Most likely you are missing
function  startPix() {}

in the preceding scripts  
or an external js file did not load
0
 
LVL 3

Expert Comment

by:deactive
ID: 21751110
MM_preloadImages() is usually a DreamWeaver JS written function
Then from the onload page event you trigger another function called startPix()

Make sure both of them are currently existing between your <script> tags nested within <head> ones ..
That error usually show up in case some function is recalled without existing ..

Cheers
Alex
0
 

Author Comment

by:lyellr
ID: 21751302
Here's the file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html><!-- InstanceBegin template="/Templates/pagetemplate.dwt" codeOutsideHTMLIsLocked="false" -->

<head>

<!-- InstanceBeginEditable name="doctitle" --> 

<title>Wells Research & Development</title>

<!-- InstanceEndEditable --> 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!-- InstanceBeginEditable name="head" --> 

<link href="Templates/styles.css" rel="stylesheet" type="text/css">

<script language="JavaScript1.2" src="popup.js" type="text/javascript"></script>

<!-- InstanceEndEditable --> 
 
 

<script language="JavaScript1.2" src="popup.js" type="text/javascript"></script>

<script language="JavaScript" 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];}}

}
 

function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}
 

function MM_nbGroup(event, grpName) { //v6.0

  var i,img,nbArr,args=MM_nbGroup.arguments;

  if (event == "init" && args.length > 2) {

    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {

      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;

      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();

      nbArr[nbArr.length] = img;

      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {

        if (!img.MM_up) img.MM_up = img.src;

        img.src = img.MM_dn = args[i+1];

        nbArr[nbArr.length] = img;

    } }

  } else if (event == "over") {

    document.MM_nbOver = nbArr = new Array();

    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {

      if (!img.MM_up) img.MM_up = img.src;

      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);

      nbArr[nbArr.length] = img;

    }

  } else if (event == "out" ) {

    for (i=0; i < document.MM_nbOver.length; i++) {

      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }

  } else if (event == "down") {

    nbArr = document[grpName];

    if (nbArr)

      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }

    document[grpName] = nbArr = new Array();

    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {

      if (!img.MM_up) img.MM_up = img.src;

      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;

      nbArr[nbArr.length] = img;

  } }

}

//-->

</script>

<script language="javascript" src="ypSlideOutMenusC.js"></script>

<script language="javascript">

 

    // the number you pass to initLeft doesn't matter since it will get

    // changed onactivate

    var myMenu1 = new ypSlideOutMenu("menu1", "down", 0, 93, 150, 200)

    var myMenu2 = new ypSlideOutMenu("menu2", "down", 0, 93, 150, 200)

    var myMenu3 = new ypSlideOutMenu("menu3", "down", 0, 93, 150, 200)

    var myMenu4 = new ypSlideOutMenu("menu4", "down", 0, 93, 150, 200)

    var myMenu5 = new ypSlideOutMenu("menu5", "down", 0, 93, 150, 200)

    var myMenu6 = new ypSlideOutMenu("menu6", "down", 0, 93, 150, 200)

    var myMenu7 = new ypSlideOutMenu("menu7", "down", 0, 93, 150, 200)

     

    // for each menu, we set up hte onactivate event to call repositionMenu with the amount offset from center, in pixels

    myMenu1.onactivate = function() { repositionMenu(myMenu1, -395); }

    myMenu2.onactivate = function() { repositionMenu(myMenu2, -290); }

    myMenu3.onactivate = function() { repositionMenu(myMenu3, -175); }

    myMenu4.onactivate = function() { repositionMenu(myMenu4, -60); }

    myMenu5.onactivate = function() { repositionMenu(myMenu5, 50); }

    myMenu6.onactivate = function() { repositionMenu(myMenu6, 165); }

    myMenu7.onactivate = function() { repositionMenu(myMenu7, 265); }
 

    // this function repositions a menu to the speicified offset from center

    function repositionMenu(menu, offset)

    {

      var newLeft = getWindowWidth() / 2 + offset;

      // setting the left position in netscape is a little different than IE

      menu.container.style ? menu.container.style.left = newLeft + "px" : menu.container.left = newLeft;

    }

        // this function calculates the window's width - different for IE and netscape

    function getWindowWidth()

    {

      return window.innerWidth ? window.innerWidth : document.body.offsetWidth;

    }  
 

    ypSlideOutMenu.writeCSS();

  </script>

<script language="JavaScript1.2" src="copyright.js" type="text/javascript"></script>

<style type="text/css">

  /* just basic text formatting - nothing special */

  

  body {

    font-size:11px;

    font-family:arial, sans-serif;

    color:#444444;

  }

  .menu .options {

    margin-right:1px;

    margin-bottom:1px;

    border:2px solid #29395c;

    background-color:#9AA9C9;

  }

  .menu a {

  color:#000000;

  display:block;

  padding:2px 10px;

  text-decoration:none;

  background-color: #9AA9C9;

  }

  .menu a:hover {

    background-color:#AEC293;

    color:#FAF7E1;

  }

</style>

<link href="styles.css" rel="stylesheet" type="text/css">

</head>
 

<body onLoad="MM_preloadImages('Buttons/zcompany.png','Buttons/zproducts.png','Buttons/zservices.png','Buttons/zsoftware.png','Buttons/zlibrary.png','Buttons/zcontact.png','Buttons/zhome.png'); startPix()">

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">

  <!-- InstanceBeginRepeat name="RepeatRegion1" --><!-- InstanceBeginRepeatEntry --> 

  <tr> 

    <td><a href="index.asp"><img src="images/header3.png" width="800" height="40" border="0"></a></td>

  </tr>

  <tr> 

    <td height="46"> <table border="0" align="center" cellpadding="0" cellspacing="0">

        <tr> 

          <td height="34" align="center"><a href="index.asp" target="_top" onClick="MM_nbGroup('down','group1','Home','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu1');MM_nbGroup('over','Home','Buttons/zhome.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu1');MM_nbGroup('out')"><img src="Buttons/zhome.png" alt="" name="Home" border="0" align="top" onload=""></a></td>

          <td><a href="company.asp" target="_top" onClick="MM_nbGroup('down','group1','Company','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu2');MM_nbGroup('over','Company','Buttons/zcompany.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu2');MM_nbGroup('out')"><img src="Buttons/zcompany.png" alt="" name="Company" border="0" onload=""></a></td>

          <td><a href="products.asp" target="_top" onClick="MM_nbGroup('down','group1','Products','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu3');MM_nbGroup('over','Products','Buttons/zproducts.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu3');MM_nbGroup('out')"><img src="Buttons/zproducts.png" alt="" name="Products" border="0" onload=""></a></td>

          <td><a href="services.asp" target="_top" onClick="MM_nbGroup('down','group1','Services','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu4');MM_nbGroup('over','Services','Buttons/zservices.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu4');MM_nbGroup('out')"><img src="Buttons/zservices.png" alt="" name="Services" border="0" onload=""></a></td>

          <td><a href="software.asp" target="_top" onClick="MM_nbGroup('down','group1','Software','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu5');MM_nbGroup('over','Software','Buttons/zsoftware.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu5');MM_nbGroup('out')"><img src="Buttons/zsoftware.png" alt="" name="Software" border="0" onload=""></a></td>

          <td><a href="library.asp" target="_top" onClick="MM_nbGroup('down','group1','Library','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu6');MM_nbGroup('over','Library','Buttons/zlibrary.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu6');MM_nbGroup('out')"><img src="Buttons/zlibrary.png" alt="" name="Library" border="0" onload=""></a></td>

          <td><a href="contact.asp" target="_top" onClick="MM_nbGroup('down','group1','Contact','',1)" onMouseOver="ypSlideOutMenu.showMenu('menu7');MM_nbGroup('over','Contact','Buttons/zcontact.png','',1)" onMouseOut="ypSlideOutMenu.hideMenu('menu7');MM_nbGroup('out')"><img src="Buttons/zcontact.png" alt="" name="Contact" border="0" onload=""></a></td>

        </tr>

      </table>

      <div align="center"></div></td>

  <!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat --> </tr> 

  <tr> 

    <td valign="top"><!-- InstanceBeginEditable name="EditRegion1" --> 

      <table width="800" height="100%" border="0" cellpadding="2" cellspacing="4">

        <tr> 

          <td width="200" valign="top" class="boxtitle"> <div align="left"> 

              <table width="100%" border="0" cellspacing="0" cellpadding="0">

                <tr> 

                  <td><table width="196" border="0" align="center" cellpadding="6" cellspacing="0" style="border: 1px solid #000066;">

                      <tr> 

                        <td height="27" background="images/catbox2.png"> <div align="center"> 

                            <span class="boxtitle">Information</span></div></td>

                      </tr>

                      <tr> 

                        <td height="100%" valign="top" bordercolor="#FFFFFF"><ul>

                            <li class="maintext"><a href="javascript:popup('forms/info_form.cfm')">Request 

                              Info</a></li>

                            <li class="sidebar"><a href="privacy.asp">Privacy 

                              Policy</a></li>

                          </ul></td>

                      </tr>

                    </table></td>

                </tr>

                <tr> 

                  <td>&nbsp;</td>

                </tr>

                <tr>

                  <td><table width="196" border="0" align="center" cellpadding="6" cellspacing="0" style="border: 1px solid #000066;">

                      <tr> 

                        <td width="185" height="27" background="images/catbox2.png"> 

                          <div align="center" class="boxtitle"><strong>Driving 

                            Directions </strong></div></td>

                      </tr>

                      <tr> 

                        <td valign="top" bordercolor="#FFFFFF"><ul>

                            <li class="maintext"><font color="#000000"><a href="directions.asp">From 

                              Logan Airport</a></font></li>

                            <li class="maintext"><a href="http://maps.google.com/maps?f=q&hl=en&q=15%2BLewis%2BSt.%2BLincoln,%2BMA&ie=UTF8&om=1">Google 

                              Maps</a></li>

                          </ul></td>

                      </tr>

                    </table></td>

                </tr>

              </table>

            </div></td>

          <td width="600" valign="top" bordercolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">

              <tr> 

                <td><table width="100%" border="0" cellpadding="6" cellspacing="0">

                    <tr> 

                      <td height="27" background="images/catbox2.png"> <div align="center" class="boxtitle">Contact 

                          Us </div></td>

                    </tr>

                    <tr> 

                      <td height="100%" align="left"> </td>

                    </tr>

                  </table></td>

              </tr>

              <tr> 

                <td><p class="maintext">Wells Research and Development<br>

                    15 A Lewis Street<br>

                    Lincoln, MA 01773 USA<br>

                    (p) 781-259-8667 (f) 781-259-8009<br>

                    info@wellsresearch.com</p>

                  <p class="maintext">If you would like more information about 

                    our products or services, click the <em>Request Info</em> 

                    page to the left and fill out the form, or you may contact 

                    us directly at the telephone number or email address above.</p></td>

              </tr>

            </table> </td>

        </tr>

      </table>

      <!-- InstanceEndEditable --></td>

  </tr>

  <tr> 

    <td height="14" bordercolor="#000000" bgcolor="#FFFFFF"> 

      <div align="center"><img src="images/bartop.png" width="800" height="2"> 

      </div></td>

  </tr>

  <tr>

    <td height="25" valign="middle" bordercolor="#000000" bgcolor="#FFFFFF"> 

      <div align="center"><font color="#000000"> &copy; 

        <script language="JavaScript">

        <!-- 

        document.write(getCurrDate()); 

      //-->

    </script>

        Wells Research &amp; Development | 15 A Lewis Street, Lincoln MA 01773 

        USA<br>

        (p) 781.259.8667 | (f) 781.259.8675 | <a href="mailto:info@wellsresearch.com">info@wellsresearch.com</a> 

        </font></div></td>

  </tr>

  <tr>

    <td height="14" bordercolor="#000000" bgcolor="#FFFFFF">

<div align="center"><img src="images/bartop.png" width="800" height="2"></div></td>

  </tr>

</table>

  

  <div id="menu1Container">

    <div id="menu1Content" class="menu">

        

    <div class="options"> <span class="menu"> 

  <a href="index.asp">Home</a>

  <a href="site_map.asp">Site Map</a> 

      <a href="news/press.asp">News</a> </span> </div>

    </div>

  </div>

            

  <div id="menu2Container">

    <div id="menu2Content" class="menu">

      

    <div class="options"><span class="menu"> <a href="company.asp">Company</a> 

      <a href="privacy.asp">Privacy Policy</a> </span></div>

    </div>

  </div>

  

  <div id="menu3Container">

    <div id="menu3Content" class="menu">

        

    <div class="options"> <span class="menu"> <a href="products.asp">Products</a> 

      <a href="products/preconfig.asp">Pre-Configured Systems</a> <a href="products/custom.asp">Customized 

      Systems</a> <a href="products/autocollimator.asp">Autocollimator</a> 

      <a href="products/instruments.asp">Instruments</a></span></div>

    </div>

  </div>

  

  <div id="menu4Container">

    <div id="menu4Content" class="menu">

        

    <div class="options"> <span class="menu"> <a href="services.asp">Services</a> 

      <a href="services/training.asp">Training Courses</a> </span> </div>

    </div>

  </div>

  

  <div id="menu5Container">

    <div id="menu5Content" class="menu">

        

    <div class="options"> <span class="menu"> <a href="software.asp">Software Overview</a> 

      <a href="softwareversions.asp">Available versions</a> <a href="downloadr.asp">Download Released Software

      </a> <a href="downloadt.asp">Download Trial Software</a> <a href="documentation.asp">Documentation</a> 

      </span> </div>

    </div>

  </div>

  

  <div id="menu6Container">

    <div id="menu6Content" class="menu">

        

    <div class="options"> <span class="menu"> <a href="library.asp">Library</a> 

      </span> <a href="library/tests/main.asp">Tests and Configurations</a> 

    </div>

    </div>

  </div>

  

  <div id="menu7Container">

    <div id="menu7Content" class="menu">

        

    <div class="options"> <span class="menu"> <a href="contact.asp">Contact 

      Us</a> <a href="javascript:popup('forms/info_form.cfm')">Request Information</a> 

      <a href="directions.asp">Driving Directions</a> </span> </div>

    </div>

  </div>

  

</body>

<!-- InstanceEnd --></html>

Open in new window

0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 21751764
there are 3 external js files too...
One of them needs to have
function startPix() in it and actually load
0
 

Author Comment

by:lyellr
ID: 21751831
The only significant JS file is this one:
/* http://ypslideoutmenus.sourceforge.net/ */

ypSlideOutMenu.Registry=[];ypSlideOutMenu.aniLen=250;ypSlideOutMenu.hideDelay=500;ypSlideOutMenu.minCPUResolution=10;

function ypSlideOutMenu(id,_2,_3,_4,_5,_6){

	this.ie=document.all?1:0;

	this.ns4=document.layers?1:0;

	this.dom=document.getElementById?1:0;

	this.css="";

	if(this.ie||this.ns4||this.dom){

		this.id=id;this.dir=_2;

		this.orientation=_2=="left"||_2=="right"?"h":"v";

		this.dirType=_2=="right"||_2=="down"?"-":"+";

		this.dim=this.orientation=="h"?_5:_6;

		this.hideTimer=false;this.aniTimer=false;

		this.open=false;this.over=false;

		this.startTime=0;

		this.gRef="ypSlideOutMenu_"+id;

		eval(this.gRef+"=this");ypSlideOutMenu.Registry[id]=this;

		var d=document;

		var _8="";

		_8+="#"+this.id+"Container{visibility:hidden;";_8+="left:"+_3+"px;";_8+="top:"+_4+"px;";_8+="overflow:hidden;z-index:10000;}";

		_8+="#"+this.id+"Container,#"+this.id+"Content{position:absolute;";_8+="width:"+_5+"px;";_8+="height:"+_6+"px;";_8+="clip:rect(0 "+_5+" "+_6+" 0);";

		_8+="}";this.css=_8;this.load();

	}

}

ypSlideOutMenu.writeCSS=function(){document.writeln("<style type=\"text/css\">");

for(var id in ypSlideOutMenu.Registry){

	document.writeln(ypSlideOutMenu.Registry[id].css);}

document.writeln("</style>");};

ypSlideOutMenu.prototype.load=function(){

	var d=document;var _10=this.id+"Container";

	var _11=this.id+"Content";

	var _12=this.dom?d.getElementById(_10):this.ie?d.all[_10]:d.layers[_10];

	if(_12){

		var _13=this.ns4?_12.layers[_11]:this.ie?d.all[_11]:d.getElementById(_11);}

	var _14;

	if(!_12||!_13){

		window.setTimeout(this.gRef+".load()",100);}

	else{

		this.container=_12;this.menu=_13;

		this.style=this.ns4?this.menu:this.menu.style;

		this.homePos=eval("0"+this.dirType+this.dim);

		this.outPos=0;this.accelConst=(this.outPos-this.homePos)/ypSlideOutMenu.aniLen/ypSlideOutMenu.aniLen;

		if(this.ns4){

			this.menu.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT);}

		this.menu.onmouseover=new Function("ypSlideOutMenu.showMenu('"+this.id+"')");

		this.menu.onmouseout=new Function("ypSlideOutMenu.hideMenu('"+this.id+"')");

		this.endSlide();}

};

ypSlideOutMenu.showMenu=function(id){var reg=ypSlideOutMenu.Registry;

var obj=ypSlideOutMenu.Registry[id];

if(obj.container){

	obj.over=true;

	for(menu in reg){

		if(id!=menu){

			ypSlideOutMenu.hide(menu);}

	}

	if(obj.hideTimer){

		reg[id].hideTimer=window.clearTimeout(reg[id].hideTimer);}

	if(!obj.open&&!obj.aniTimer){

		reg[id].startSlide(true);}

}};

ypSlideOutMenu.hideMenu=function(id){

	var obj=ypSlideOutMenu.Registry[id];

	if(obj.container){

		if(obj.hideTimer){

			window.clearTimeout(obj.hideTimer);}

		obj.hideTimer=window.setTimeout("ypSlideOutMenu.hide('"+id+"')",ypSlideOutMenu.hideDelay);}

	};

	ypSlideOutMenu.hideAll=function(){

		var reg=ypSlideOutMenu.Registry;

		for(menu in reg){

			ypSlideOutMenu.hide(menu);

			if(menu.hideTimer){

				window.clearTimeout(menu.hideTimer);}

		}

	};

	ypSlideOutMenu.hide=function(id){

		var obj=ypSlideOutMenu.Registry[id];obj.over=false;

		if(obj.hideTimer){

			window.clearTimeout(obj.hideTimer);}

		obj.hideTimer=0;

		if(obj.open&&!obj.aniTimer){

			obj.startSlide(false);}

	};

	ypSlideOutMenu.prototype.startSlide=function(_21){

		this[_21?"onactivate":"ondeactivate"]();

		this.open=_21;

		if(_21){

			this.setVisibility(true);}

		this.startTime=(new Date()).getTime();

		this.aniTimer=window.setInterval(this.gRef+".slide()",ypSlideOutMenu.minCPUResolution);

	};

	ypSlideOutMenu.prototype.slide=function(){

		var _22=(new Date()).getTime()-this.startTime;

		if(_22>ypSlideOutMenu.aniLen){

			this.endSlide();}

		else{

			var d=Math.round(Math.pow(ypSlideOutMenu.aniLen-_22,2)*this.accelConst);

			if(this.open&&this.dirType=="-"){

				d=-d;}

			else{

				if(this.open&&this.dirType=="+"){

					d=-d;}

				else{

					if(!this.open&&this.dirType=="-"){

						d=-this.dim+d;}

					else{d=this.dim+d;}

				}

			}

			this.moveTo(d);

		}

	};

	ypSlideOutMenu.prototype.endSlide=function(){

		this.aniTimer=window.clearTimeout(this.aniTimer);

		this.moveTo(this.open?this.outPos:this.homePos);

		if(!this.open){

			this.setVisibility(false);}

		if((this.open&&!this.over)||(!this.open&&this.over)){

			this.startSlide(this.over);}

	};

	ypSlideOutMenu.prototype.setVisibility=function(_24){

		var s=this.ns4?this.container:this.container.style;

		s.visibility=_24?"visible":"hidden";};

	ypSlideOutMenu.prototype.moveTo=function(p){

		this.style[this.orientation=="h"?"left":"top"]=this.ns4?p:p+"px";};

	ypSlideOutMenu.prototype.getPos=function(c){

		return parseInt(this.style[c]);};

	ypSlideOutMenu.prototype.onactivate=function(){};

	ypSlideOutMenu.prototype.ondeactivate=function(){};

Open in new window

0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 21752941
Not as far as the error is concerned.

Please find the file that has function startPix() in it and if you cannot find it, remove startPix() from the end of the onload
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 21777033
And the "B" grade was for ???
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now