Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrolling menu to the right: error: menu undefined& object expected

Status
Not open for further replies.

user2

Technical User
Aug 10, 2001
70
US
This is table with many colums First column becoming a menu :subdividing into pop up javascript. I am using image button to do it. When I put it on server it gives me error. Works fine on my computer. Thanks in advance
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot;>
<!--
function mmLoadMenus() {
if (window.mm_menu_0909064416_0) return;
window.mm_menu_0909064416_0 = new Menu(&quot;root&quot;,194,18,&quot;&quot;,12,&quot;#000000&quot;,&quot;#FFFFFF&quot;,&quot;#CCCCCC&quot;,&quot;#000084&quot;,&quot;left&quot;,&quot;middle&quot;,3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0909064416_0.addMenuItem(&quot;Collaborator'sRelease Form&quot;,&quot;window.open('Collaborator's Form.doc', '_parent');&quot;);
mm_menu_0909064416_0.addMenuItem(&quot;Medical Form&quot;,&quot;window.open('Medical Form.doc', '_parent');&quot;);
mm_menu_0909064416_0.hideOnMouseOut=true;
mm_menu_0909064416_0.bgColor='#555555';
mm_menu_0909064416_0.menuBorder=1;
mm_menu_0909064416_0.menuLiteBgColor='#FFFFFF';
mm_menu_0909064416_0.menuBorderBgColor='#777777';

window.mm_menu_0909071435_0 = new Menu(&quot;root&quot;,190,18,&quot;&quot;,12,&quot;#000000&quot;,&quot;#FFFFFF&quot;,&quot;#CCCCCC&quot;,&quot;#000084&quot;,&quot;left&quot;,&quot;middle&quot;,3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0909071435_0.addMenuItem(&quot;PA&nbsp;Guidelines&quot;,&quot;window.open('paguidelines.doc', '_parent');&quot;);
mm_menu_0909071435_0.addMenuItem(&quot;Training&nbsp;Binder(PA&nbsp;Binder)&quot;,&quot;window.open('binder.doc', '_parent');&quot;);
mm_menu_0909071435_0.addMenuItem(&quot;Expectations&quot;,&quot;window.open('expectations.doc', '_parent');&quot;);
mm_menu_0909071435_0.addMenuItem(&quot;Exit&nbsp;Interview&quot;,&quot;window.open('exitinterview.doc', '_parent');&quot;);
mm_menu_0909071435_0.hideOnMouseOut=true;
mm_menu_0909071435_0.bgColor='#555555';
mm_menu_0909071435_0.menuBorder=1;
mm_menu_0909071435_0.menuLiteBgColor='#FFFFFF';
mm_menu_0909071435_0.menuBorderBgColor='#777777';

window.mm_menu_0909091320_0 = new Menu(&quot;root&quot;,157,18,&quot;&quot;,12,&quot;#000000&quot;,&quot;#FFFFFF&quot;,&quot;#CCCCCC&quot;,&quot;#000084&quot;,&quot;left&quot;,&quot;middle&quot;,3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0909091320_0.addMenuItem(&quot;Purchase&nbsp;Order&nbsp;Form&quot;,&quot;window.open('Purchase Order Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.hideOnMouseOut=true;
mm_menu_0909091320_0.bgColor='#555555';
mm_menu_0909091320_0.menuBorder=1;
mm_menu_0909091320_0.menuLiteBgColor='#FFFFFF';
mm_menu_0909091320_0.menuBorderBgColor='#777777';

window.mm_menu_0909091320_0 = new Menu(&quot;root&quot;,198,18,&quot;&quot;,12,&quot;#000000&quot;,&quot;#FFFFFF&quot;,&quot;#CCCCCC&quot;,&quot;#000084&quot;,&quot;left&quot;,&quot;middle&quot;,3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0909091320_0.addMenuItem(&quot;Release&nbsp;Form&quot;,&quot;window.open(''Release Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Medical&nbsp;Form&quot;,&quot;window.open('Medical.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Purchase&nbsp;Order&nbsp;Form&quot;,&quot;window.open('Order Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Field&nbsp;Voucher&nbsp;Form&quot;,&quot;window.open('Voucher Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Waiver&nbsp;of&nbsp;Liability&quot;,&quot;window.open('Waiver Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;In&nbsp;Kind&nbsp;Accounting&nbsp;Form&quot;,&quot;window.open('Accounting Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.hideOnMouseOut=true;
mm_menu_0909091320_0.bgColor='#555555';
mm_menu_0909091320_0.menuBorder=1;
mm_menu_0909091320_0.menuLiteBgColor='#FFFFFF';
mm_menu_0909091320_0.menuBorderBgColor='#777777';

window.mm_menu_0909091320_0 = new Menu(&quot;root&quot;,198,18,&quot;&quot;,12,&quot;#000000&quot;,&quot;#FFFFFF&quot;,&quot;#CCCCCC&quot;,&quot;#000084&quot;,&quot;left&quot;,&quot;middle&quot;,3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0909091320_0.addMenuItem(&quot;Collaborator's&nbsp;Release&nbsp;Form&quot;,&quot;window.open('Collaborator's Release Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Medical&nbsp;Form&quot;,&quot;window.open('Medical.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Purchase&nbsp;Order&nbsp;Form&quot;,&quot;window.open('Order Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Field&nbsp;Voucher&nbsp;Form&quot;,&quot;window.open('Voucher Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;Waiver&nbsp;of&nbsp;Liability&quot;,&quot;window.open('Liability.doc', '_parent');&quot;);
mm_menu_0909091320_0.addMenuItem(&quot;In&nbsp;Kind&nbsp;Accounting&nbsp;Form&quot;,&quot;window.open('Accounting Form.doc', '_parent');&quot;);
mm_menu_0909091320_0.hideOnMouseOut=true;
mm_menu_0909091320_0.bgColor='#555555';
mm_menu_0909091320_0.menuBorder=1;
mm_menu_0909091320_0.menuLiteBgColor='#FFFFFF';
mm_menu_0909091320_0.menuBorderBgColor='#777777';

mm_menu_0909091320_0.writeMenus();
} // mmLoadMenus()
<!--

//-->

function MM_initTimelines() { //v4.0
//MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
var ns = navigator.appName == &quot;Netscape&quot;;
var ns4 = (ns && parseInt(navigator.appVersion) == 4);
var ns5 = (ns && parseInt(navigator.appVersion) > 4);
document.MM_Time = new Array(1);
document.MM_Time[0] = new Array(2);
document.MM_Time[&quot;Timeline1&quot;] = document.MM_Time[0];
document.MM_Time[0].MM_Name = &quot;Timeline1&quot;;
document.MM_Time[0].fps = 15;
document.MM_Time[0][0] = new String(&quot;sprite&quot;);
document.MM_Time[0][0].slot = 2;
if (ns4)
document.MM_Time[0][0].obj = document[&quot;Image2&quot;];
else if (ns5)
document.MM_Time[0][0].obj = document.getElementById(&quot;Image2&quot;);
else
document.MM_Time[0][0].obj = document[&quot;Image2&quot;];
document.MM_Time[0][0].keyFrames = new Array(1, 15);
document.MM_Time[0][0].values = new Array(0);
document.MM_Time[0][1] = new String(&quot;sprite&quot;);
document.MM_Time[0][1].slot = 1;
if (ns4)
document.MM_Time[0][1].obj = document[&quot;Image1&quot;];
else if (ns5)
document.MM_Time[0][1].obj = document.getElementById(&quot;Image1&quot;);
else
document.MM_Time[0][1].obj = document[&quot;Image1&quot;];
document.MM_Time[0][1].keyFrames = new Array(8, 22);
document.MM_Time[0][1].values = new Array(0);
document.MM_Time[0].lastFrame = 22;
for (i=0; i<document.MM_Time.length; i++) {
document.MM_Time.ID = null;
document.MM_Time.curFrame = 0;
document.MM_Time.delay = 1000/document.MM_Time.fps;
}
}
//-->
</script>
<script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot;>
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==&quot;Netscape&quot;)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script language=&quot;JavaScript&quot; src=&quot;mm_menu.js&quot;></script>
</head>

<body>
<script language=&quot;JavaScript1.2&quot;>mmLoadMenus();</script>
<div align=&quot;center&quot;>
<p><strong><font face=&quot;Arial, Helvetica, sans-serif&quot; color=&quot;#000999&quot;>Welcome
to the Youth Services home Page</font></strong> </p>
<p>&nbsp;</p>
</div>
<table width=&quot;800&quot; height=&quot;600&quot; border=&quot;1&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;2&quot;>
<tr>
<td bgcolor=&quot;#999999&quot;><font color=&quot;#FFFFA8&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><img src=&quot;summary.gif&quot; name=&quot;Image1&quot; width=&quot;80&quot; height=&quot;30&quot; onMouseOver=&quot;MM_showMenu(window.mm_menu_0909091320_0,77,27,null,'Image1')&quot; onMouseOut=&quot;MM_startTimeout();&quot;></font>
</td>

<tr bordercolor=&quot;#000000&quot; bgcolor=&quot;#FFFFFF&quot;>
<td bgcolor=&quot;#999999&quot;><font color=&quot;#FFFFA8&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><img src=&quot;pag.gif&quot; name=&quot;Image2&quot; width=&quot;80&quot; height=&quot;30&quot; onMouseOver=&quot;MM_showMenu(window.mm_menu_0909071435_0,77,27,null,'Image2')&quot; onMouseOut=&quot;MM_startTimeout();&quot;></font></td>
<td bgcolor=&quot;#cccccc&quot;><font color=&quot;#AAAEFF&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><a href=&quot;#&quot;>Board
of Directors(Empty)</a></font></td>
<td bgcolor=&quot;#ffffff&quot;><font color=&quot;#666DFF&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><a href=&quot;photos_camp.asp&quot;>Camp</a></font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
</tr>
<tr bordercolor=&quot;#000000&quot; bgcolor=&quot;#FFFFFF&quot;>
<td bgcolor=&quot;#999999&quot;><font color=&quot;#FFFFA8&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><img src=&quot;fak.gif&quot; width=&quot;80&quot; height=&quot;30&quot;></font></td>
<td bgcolor=&quot;#cccccc&quot;><font color=&quot;#AAAEFF&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><a href=&quot;#&quot;>Exective
Board (empty)</a></font></td>
<td><font color=&quot;#666DFF&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
<td><font color=&quot;#000999&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>&nbsp;</font></td>
</tr>
<tr bordercolor=&quot;#000000&quot; bgcolor=&quot;#FFFFFF&quot;>
<td bgcolor=&quot;#999999&quot;><img src=&quot;logos.gif&quot; width=&quot;80&quot; height=&quot;30&quot;></td>
<td bgcolor=&quot;#cccccc&quot;><font color=&quot;#000000&quot; size=&quot;1&quot; face=&quot;Arial, Helvetica, sans-serif&quot;><a href=&quot; for Youth Newsletter</a></font></td>
sans-serif&quot;>&nbsp;</font></td>

</tr>
<tr bordercolor=&quot;#000000&quot; bgcolor=&quot;#FFFFFF&quot;>
<td bgcolor=&quot;#999999&quot;><img src=&quot;chers.gif&quot; width=&quot;80&quot; height=&quot;30&quot;></td>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top