?
Solved

Java Script Code Help to work with Mozilla Browser

Posted on 2009-12-18
27
Medium Priority
?
810 Views
Last Modified: 2013-12-07
I need help in changing a code to make this menu work in Mozilla.
Right now this process only works in Internet Explorer and would Like to make sure this works in Mozilla as well.
function open_win_size(url,w,h) {
	agent = navigator.userAgent;
	windowName = "Sitelet";
		
	params  = "";
	params += "toolbar=0,";
	params += "location=0,";
	params += "directories=0,";
	params += "status=0,";
	params += "menubar=0,";
	params += "scrollbars=1,";
	params += "resizable=1,";
	params += "width=" + w + ",";
	params += "height=" + h;
		   
	win = window.open(url, windowName , params);
		
	if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {
		win = window.open(url, windowName , params);
	}	
	if (!win.opener) {
		win.opener = window;
	}
	return;
};

Open in new window

4695724610894function open_win_size(url,w,h) {
	agent = navigator.userAgent;
	windowName = "Sitelet";
		
	params  = "";
	params += "toolbar=0,";
	params += "location=0,";
	params += "directories=0,";
	params += "status=0,";
	params += "menubar=0,";
	params += "scrollbars=1,";
	params += "resizable=1,";
	params += "width=" + w + ",";
	params += "height=" + h;
		   
	win = window.open(url, windowName , params);
		
	if (agent.indexOf("Mozilla/2") != -1 && agent.indexOf("Win") == -1) {
		win = window.open(url, windowName , params);
	}	
	if (!win.opener) {
		win.opener = window;
	}
	return;
};
251261154913000

Open in new window

0
Comment
Question by:CHCCIT
21 Comments
 

Author Comment

by:CHCCIT
ID: 26081906
Home Page Code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<style type="text/css" media="all"> 
   @import "/includes/css/intranet.css";
</style>
 
<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
 
<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>
 
<script language="JavaScript" type="text/JavaScript"> 
<!--
 
function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}
 
function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}
 
preload();
 
 
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
 
<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>12/18/2009 11:21:35 AM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">
 
<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>Clinical Education</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="\docs\bylaws.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Bylaws</font>
		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#33660>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#660066>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#33660>Notification Templates</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#660066>Organizational Charts</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#33660>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >
			
	<font color=#660066>Policy and Procedure</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#33660>Recipe Cards</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/includes/pdf/contractvendors.pdf" > 
			
	<font color=#660066>RRPH Contracted Vendors</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/info/index.asp?pg_id=204" >
			
	<font color=#660066>HICS 2009</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">
		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">
 
 
		<div class="menu_column_1">
			<ul>
	
	
	 
    
 
			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=171" >
			
	<font color=#33660>Evaluation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="http://10.0.0.92:9081/cccprod/" > 
			
	<font color=#660066>HCS</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#33660>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#660066>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://infor.chcc.org/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#33660>Medicare D - PDP</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="https://www.mdsnj.com/ClientLogin.aspx" > 
			
	<font color=#660066>Mobile Diagnostics</font>
		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    
 
			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=166" >
			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>
			
			</a></li>
			
     
	
 
 
	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	
 
 
	
				
	
	
	 
    
 
			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    
 
			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	
 
			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
 
	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->
		"Here's the thing.  In every life crisis, there's that moment when you must choose whether to trade down to despair, or up to joy.  I will choose joy!"<br><br>Dorothy Wilhelm, from the poem, "For As Long As It Matters"<br>  <br><br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>
</div>
<!-- END MENUS -->
 
<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
			<!-- BEGIN PILLARS -->
			<div style="float:left; "><a href="javascript:open_win_size('/pillars/',680,560);"><img border=0 color = white hspace="30" src="/includes/images/pillars/homepage.jpg"></a></div>
<div class="body_menu_brown">
	
	<div>
		
		<div class="spacer"></div>
	</div>
</div>
			<div class="spacer"></div>
			<!-- END PILLARS -->
			
			<br>
		  <div>
				<!-- BEGIN CHCC INFO MENU -->	
				<div class="body_menu_red">
					<div class="body_menu_red_title"><span>Lunch Menu</span></div>
					
					<div class="lunch_home">
					  <table>
					<tr><td valign="top"><strong>Main Course:</strong></td>
					<td valign="top">Breaded Fish Filet</td></tr>
					<tr><td valign="top"><strong>Soup:</strong></td>
					<td valign="top">Manhattan ClamChowder</td></tr>
					<tr><td valign="top"><strong>Side Dishes:</strong></td>
					<td valign="top">French Fries<br>Salad Bar
					</td></tr>
					<tr><td valign="top"><strong>Dessert:</strong></td>
					<td valign="top">Cookies</td></tr>
					<tr><td colspan="2" class="body"><a href="/depts/employee_menu.asp">Click here for this weeks menu</a></td></tr>
					</table>
				  </div>
					<p>
					  
				  </p>
				</div>
				<!-- END CHCC INFO -->
                				<!-- <div style="width:40px;float:left;margin: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;border: 1px solid red;"></div> -->
				<!-- BEGIN WEATHER -->	
				<div class="body_menu_purple">
					<div class="body_menu_purple_title"><span>Weather</span></div>
					<div>
					<script type="text/javascript" language="javascript1.2" src="http://weatherreports.com/jscript.html?width=234&height=60&theme=brand_no_search_box&location=07481&units=f"> 
</script>
<div></div>
                    </div>
					<div class="fineprint">
					  <p>View weather for <a href="#" onclick="javascript:window.open('includes/xml/weather_pop.asp?zip=07470', 'weather', 'width=330,height=250');">Wayne</a>
					  </p>
</div>
				</div>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
			
			  <!-- END WEATHER -->
			</div>
            <p>&nbsp;</p>
		</div>
        <p>&nbsp;</p>
        
				<!-- END CONTENT BODY -->
 
	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 26102093
Please look for an error message in the Console and provide it to us.  Let us know what line of code it correspond to.

bol
0
 
LVL 61

Expert Comment

by:HainKurt
ID: 26102104
I dont see any issue here
tested on IE & FF, both working fine...
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:CHCCIT
ID: 26104787
In Firefox when I navigate to the plus sign to make the menu appear
as in the above in picture 2 Nothing works its like the page is completely static.
In IE when I navigate to plus sign this works and menu drops no issues. I was also reading around somewhere stating that I may have to change the div where the menu lies into a function as Firefox reads things a bit differently.  I am taking over this mess from some one else any help would be greatly appreciated.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css" media="all">
   @import "/includes/css/intranet.css";
</style>

<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />


<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>

<script language="JavaScript" type="text/JavaScript">
<!--

function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}

function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}

preload();


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>

				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div>12/22/2009 9:13:23 AM&nbsp;&nbsp;&nbsp;</div>

	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">

<!-- MENUS -->
<div id="menus">
	<div id="menus">
	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Departments,menusign_Departments)">

		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">


		<div class="menu_column_1">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>Clinical Education</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >
			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >

			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >
			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >

			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	


	
				
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >
			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >

			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >
			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	


	
				
	
			</ul>

		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Information,menusign_Information)">
		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">


		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=187" >

			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=68" >
			
	<font color=#660066>The Joint Commission</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=75" >

			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="\docs\bylaws.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Bylaws</font>
		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">

			<ul>
	
	
	 
    

			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#33660>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#660066>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#33660>Notification Templates</font>

		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#660066>Organizational Charts</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#33660>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >

			
	<font color=#660066>Policy and Procedure</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#33660>Recipe Cards</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/includes/pdf/contractvendors.pdf" > 
			
	<font color=#660066>RRPH Contracted Vendors</font>
		
			</a></li>

	
	
	
	
	 
    

			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>

			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=204" >

			
	<font color=#660066>HICS 2009</font>
			
			</a></li>
			
     
	


	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">

		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">


		<div class="menu_column_1">
			<ul>
	
	
	 
    

			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=171" >
			
	<font color=#33660>Evaluation</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="http://10.0.0.92:9081/cccprod/" > 
			
	<font color=#660066>HCS</font>

		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#33660>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#660066>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://infor.chcc.org/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#33660>Medicare D - PDP</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="https://www.mdsnj.com/ClientLogin.aspx" > 
			
	<font color=#660066>Mobile Diagnostics</font>

		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    

			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=166" >

			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>

	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	

			</ul>
		</div>

	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>

	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->

		"Christmas gift suggstions:  To your enemy, forgiveness.  To an opponent, tolerance.  To a friend, your heart.  To a customer, service.  To all, charity.  To every child, a good example.  To yourself, respect."<br>         (Oren Arnold)<br>  <br><br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">

	<div class="menu_header">About CHCC</div>
	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->

	</div>
</div>
<!-- END MENUS -->

<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
			<!-- BEGIN PILLARS -->
			<div style="float:left; "><a href="javascript:open_win_size('/pillars/',680,560);"><img border=0 color = white hspace="30" src="/includes/images/pillars/homepage.jpg"></a></div>
<div class="body_menu_brown">
	
	<div>
		
		<div class="spacer"></div>

	</div>
</div>
			<div class="spacer"></div>
			<!-- END PILLARS -->
			
			<br>
		  <div>
				<!-- BEGIN CHCC INFO MENU -->	
				<div class="body_menu_red">
					<div class="body_menu_red_title"><span>Lunch Menu</span></div>

					
					<div class="lunch_home">
					  <table>
					<tr><td valign="top"><strong>Main Course:</strong></td>
					<td valign="top">Turkey and Provolone</td></tr>
					<tr><td valign="top"><strong>Soup:</strong></td>
					<td valign="top">Navy Bean</td></tr>
					<tr><td valign="top"><strong>Side Dishes:</strong></td>

					<td valign="top"> <br>Salad Bar
					</td></tr>
					<tr><td valign="top"><strong>Dessert:</strong></td>
					<td valign="top">Pudding</td></tr>
					<tr><td colspan="2" class="body"><a href="/depts/employee_menu.asp">Click here for this weeks menu</a></td></tr>
					</table>
				  </div>

					<p>
					  
				  </p>
				</div>
				<!-- END CHCC INFO -->
                				<!-- <div style="width:40px;float:left;margin: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;border: 1px solid red;"></div> -->
				<!-- BEGIN WEATHER -->	
				<div class="body_menu_purple">
					<div class="body_menu_purple_title"><span>Weather</span></div>
					<div>

					<script type="text/javascript" language="javascript1.2" src="http://weatherreports.com/jscript.html?width=234&height=60&theme=brand_no_search_box&location=07481&units=f">
</script>
<div></div>
                    </div>
					<div class="fineprint">
					  <p>View weather for <a href="#" onclick="javascript:window.open('includes/xml/weather_pop.asp?zip=07470', 'weather', 'width=330,height=250');">Wayne</a>
					  </p>
</div>
				</div>

				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
			
			  <!-- END WEATHER -->
			</div>
            <p>&nbsp;</p>
		</div>
        <p>&nbsp;</p>

        
				<!-- END CONTENT BODY -->

	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

home-page-3.png
0
 

Author Comment

by:CHCCIT
ID: 26104809
Code where menu is being called
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_Services,menusign_Services)">

		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">


		<div class="menu_column_1">
			<ul>
	
	
	 
    

			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=171" >
			
	<font color=#33660>Evaluation</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="http://10.0.0.92:9081/cccprod/" > 
			
	<font color=#660066>HCS</font>

		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#33660>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#660066>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://infor.chcc.org/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#33660>Medicare D - PDP</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="https://www.mdsnj.com/ClientLogin.aspx" > 
			
	<font color=#660066>Mobile Diagnostics</font>

		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    

			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=166" >

			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>

	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	

			</ul>
		</div>

	</div>
</div>

Open in new window

0
 

Author Comment

by:CHCCIT
ID: 26107858
I do not get any error messages or console errors and I had made sure that java script is enabled on Firefox
0
 

Author Comment

by:CHCCIT
ID: 26109911
Here is my testing server link please let me know if you can see any issue thanks
http://68.193.1.158/
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 26130414
According to firebug, when I click the first [+], I'm getting ...

menuoutline_Departments is not defined
function onclick(event) { javascript: showhide(menuoutline_Departments, menusign_Departments); }(click clientX=369, clientY=113)

0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 26130424
In fact, each of the [+] generates a different error message.

I would recommend changing the show/hide code receive strings as the values of IDs and then look for the use document.getElementById(xxxx).style.yyyy


onClick="javascript:showhide('menuoutline_Departments','menusign_Departments')"

and

function showhide(menuListID, menuImgID) {
        var menuList = document.getElementById(menuListID);
        var menuImg = document.getElementById(menuImgID);
      if (menuList.style.display == 'none') {
            menuList.style.display='';
            menuImg.src=Open.src;
      } else {
            menuList.style.display = 'none';
            menuImg.src=Closed.src;
      }
}


sort of thing (UNTESTED!!!!!)
0
 

Author Comment

by:CHCCIT
ID: 26133738
The above works  with the code you provided but now in both browsers only one menu drops and works. please see link.
http://68.193.1.158/

I have also provided the code that is being called for in the all_menu_asp

Thanks for your help so far this is very close.
I just need to know now what more to change thanks

<% 
' find out what path we're in and make that section expanded
url_a = request.ServerVariables("URL")
url_a = split(url_a, "/")
url = url_a(1) & "/"
'response.Write("url = " & url)

set rs = server.CreateObject("adodb.recordset")
set rsc = server.CreateObject("adodb.recordset")
strsql = "select d.*, p.pg_id pg_id, p.title, p.redirect, p.new_window, p.active, p.page_order " & _
		 "from cms_depts d, cms_pages p " & _
		 "where d.dept_id = p.dept_id " & _
		 "and p.sub_of = 0 "
if request.ServerVariables("HTTP_HOST") = "home.dev.chcc" then
	strSql = strsql & "and (p.active = 1 or p.active = 2) "
else
	strsql = strsql & "and p.active = 1 "
end if
strSql = strsql & "order by d.dept_order, p.page_no"
'response.Write(strsql)
'response.End()
rs.open strsql, objconn, adOpenStatic, adLockReadOnly, adCmdText
rc = rs.recordcount
'response.Write(rc)
'response.End()
'half = 100 ' int(rc / 2) 'int((rc / 2) + 1)
'response.Write(half)
'response.End()
old_category = "foo"
first_time = true
do until rs.eof = true
	'check for new category
	if old_category <> rs("name") then 
		' count the number of items in the category
		strsql = "select count(*) as count " & _
				 "from cms_depts d, cms_pages p " & _
				 "where	d.dept_id = p.dept_id " & _
				 "and p.sub_of = 0 " & _
				 "and p.active = 1 " & _
				 "and d.name = '" & rs("name") & "'"
		rsc.open strsql, objconn
		rc = rsc("count")
		half = int((rc/2))
		if half <> rc/2 then
			half = half + 1
		end if
		'response.write(rs("name") & ":" & rc & ":" & half & "<br>")
		c = 1
		r = 1
		rsc.close
		if first_time = false then %>
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	<% end if %>
<div class="menu">
	<div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide('menuoutline_Departments','menusign_Departments')">
		<% if rs("url") <> url then 
			dept_id = rs("dept_id") %>
		<img id="menusign_<%=rs("name") %>" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		<% else %>
		<img id="menusign_<%=rs("name") %>" src="/includes/images/icon_minus.gif" align="right" vspace="5" hspace="5">
		<% end if %>
		<%= rs("name") %>
	</div>
	<div id="menuoutline_<%=rs("name") %>" class="menu_body" <% if rs("url") <> url then %>style="display:none"<% end if %>>


		<div class="menu_column_<%= c %>">
			<ul>
	<% old_category = rs("name")
	first_time = false
	end if 
	if rs("redirect") <> "" then %>
	
	 
    

			<li><a href="<%= rs("redirect") %>" <% if rs("new_window") = 1 then response.Write("target=""_blank""") end if %>> 
			
	<%if ( r mod 2 = 0) Then %>				
			<%= "<font color=#660066>" & rs("title")  & "</font>"%>
	<% else %>
            <%= "<font color=#33660>" & rs("title")  & "</font>"%>
	<% end if %>
		
			</a></li>
	
	
	<% else %>
			<li><a href="/<%= rs("url") & "index.asp?pg_id=" & rs("pg_id") %>" <% if rs("new_window") = 1 then response.Write("target=""_blank""") end if %>>
			
	<%if ( r mod 2 = 0) Then %>				
			<%= "<font color=#660066>" & rs("title")  & "</font>"%>
	<% else %>
            <%= "<font color=#33660>" & rs("title")  & "</font>"%>
	<% end if %>
			
			</a></li>
			
     
	


	
				
	<% end if
	if r = half then 
			c = c + 1 %>
			</ul>
		</div>
		<div class="menu_column_<%= c %>">
			<ul>
	<% end if %>
<% rs.movenext
r = r + 1
loop %>

			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>

Open in new window

0
 

Author Comment

by:CHCCIT
ID: 26135580
Everything my index.asp calls Source Code
<!--#include virtual="/includes/asp/cms_header.asp"-->

<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->

<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
			<!-- BEGIN PILLARS -->
			<!--#include virtual="/includes/asp/homepage_pillars.asp"-->
			<div class="spacer"></div>
			<!-- END PILLARS -->
			
			<br>
		  <div>
				<!-- BEGIN CHCC INFO MENU -->	
				<div class="body_menu_red">
					<div class="body_menu_red_title"><span>Lunch Menu</span></div>
					<%
						dayOne = "11/1/2004"
						
						dtToday = date()
						doy = cstr(DateDiff("d", dayOne, dtToday)+1)
						menuDay = doy MOD 21
						if menuDay = 0 then menuDay = 21 end if
						
						
						Set objRSmenu = Server.CreateObject("ADODB.Recordset")
						strSql = "SELECT week, main_course, soup, side_dish_one, side_dish_two, dessert FROM fs_Menu WHERE number = " & menuDay
						'response.Write(strSql)
						'response.End()
						objRSmenu.Open strSql, objConn
						
						
					%>
					<div class="lunch_home">
					  <table>
					<tr><td valign="top"><strong>Main Course:</strong></td>
					<td valign="top"><%= objrsmenu("main_course") %></td></tr>
					<tr><td valign="top"><strong>Soup:</strong></td>
					<td valign="top"><%= objrsmenu("soup") %></td></tr>
					<tr><td valign="top"><strong>Side Dishes:</strong></td>
					<td valign="top"><%= objRSmenu("side_dish_one") %>
						<% if objrsmenu("side_dish_two") <> "" then
							response.Write("<br>" & objRSmenu("side_dish_two"))
						end if %>
					</td></tr>
					<tr><td valign="top"><strong>Dessert:</strong></td>
					<td valign="top"><%= objRSmenu("dessert") %></td></tr>
					<tr><td colspan="2" class="body"><a href="/depts/employee_menu.asp">Click here for this weeks menu</a></td></tr>
					</table>
				  </div>
					<p>
					  <% objConn.Close %>
				  </p>
				</div>
				<!-- END CHCC INFO -->
                				<!-- <div style="width:40px;float:left;margin: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;border: 1px solid red;"></div> -->
				<!-- BEGIN WEATHER -->	
				<div class="body_menu_purple">
					<div class="body_menu_purple_title"><span>Weather</span></div>
					<div>
					<!--#include file="includes/xml/weather.asp" -->
                    </div>
					<div class="fineprint">
					  <p>View weather for <a href="#" onclick="javascript:window.open('includes/xml/weather_pop.asp?zip=07470', 'weather', 'width=330,height=250');">Wayne</a>
					  </p>
</div>
				</div>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
			
			  <!-- END WEATHER -->
			</div>
            <p>&nbsp;</p>
		</div>
        <p>&nbsp;</p>
        
				<!-- END CONTENT BODY -->

<!--#include virtual="/includes/asp/cms_footer.asp"-->

Open in new window

0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 26136863
You needed to amend all the onClicks to match the one I presented; that is putting the IDs in quotes.

You've put the same onClick for all the [+]s.

They need to have been along the lines of ...

onClick="javascript:showhide('menuoutline_xxxxx','menusign_xxxxx')"

where xxxxx is each of the options...

Departments, Information and Services

onClick="javascript:showhide('menuoutline_Departments','menusign_Departments')"
onClick="javascript:showhide('menuoutline_Information','menusign_Information')"
onClick="javascript:showhide('menuoutline_Services','menusign_Services')"
0
 

Author Comment

by:CHCCIT
ID: 26141915
My Index Page Calls for the following
which Contains the following code
<!--#include virtual="/includes/asp/cms_header.asp"-->
<!--#include virtual="/includes/connections/intranet.asp"-->
<!--#include virtual="/includes/asp/adovbs.inc"-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css" media="all">
   @import "/includes/css/intranet.css";
</style>

<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />

<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>

<script language="JavaScript" type="text/JavaScript">
<!--

function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}

function showhide(menuList, menuImg) {
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}

preload();


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">
		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>
			</span>
		</h2>
		<div><%= now() %>&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">

Open in new window

0
 

Author Comment

by:CHCCIT
ID: 26141929
My Index Page Also Calls for the following
which Contains the following code
<!-- MENUS -->
<!--#include virtual="/includes/asp/cms_right_menu.asp"-->
<!-- END MENUS -->

Which only contains one Onclick location

<% 
' find out what path we're in and make that section expanded
url_a = request.ServerVariables("URL")
url_a = split(url_a, "/")
url = url_a(1) & "/"
'response.Write("url = " & url)

set rs = server.CreateObject("adodb.recordset")
set rsc = server.CreateObject("adodb.recordset")
strsql = "select d.*, p.pg_id pg_id, p.title, p.redirect, p.new_window, p.active, p.page_order " & _
		 "from cms_depts d, cms_pages p " & _
		 "where d.dept_id = p.dept_id " & _
		 "and p.sub_of = 0 "
if request.ServerVariables("HTTP_HOST") = "home.dev.chcc" then
	strSql = strsql & "and (p.active = 1 or p.active = 2) "
else
	strsql = strsql & "and p.active = 1 "
end if
strSql = strsql & "order by d.dept_order, p.page_no"
'response.Write(strsql)
'response.End()
rs.open strsql, objconn, adOpenStatic, adLockReadOnly, adCmdText
rc = rs.recordcount
'response.Write(rc)
'response.End()
'half = 100 ' int(rc / 2) 'int((rc / 2) + 1)
'response.Write(half)
'response.End()
old_category = "foo"
first_time = true
do until rs.eof = true
	'check for new category
	if old_category <> rs("name") then 
		' count the number of items in the category
		strsql = "select count(*) as count " & _
				 "from cms_depts d, cms_pages p " & _
				 "where	d.dept_id = p.dept_id " & _
				 "and p.sub_of = 0 " & _
				 "and p.active = 1 " & _
				 "and d.name = '" & rs("name") & "'"
		rsc.open strsql, objconn
		rc = rsc("count")
		half = int((rc/2))
		if half <> rc/2 then
			half = half + 1
		end if
		'response.write(rs("name") & ":" & rc & ":" & half & "<br>")
		c = 1
		r = 1
		rsc.close
		if first_time = false then %>
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	<% end if %>
<div class="menu">
	<div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_<%=rs("name") %>,menusign_<%=rs("name") %>)">
		<% if rs("url") <> url then 
			dept_id = rs("dept_id") %>
		<img id="menusign_<%=rs("name") %>" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		<% else %>
		<img id="menusign_<%=rs("name") %>" src="/includes/images/icon_minus.gif" align="right" vspace="5" hspace="5">
		<% end if %>
		<%= rs("name") %>
	</div>
	<div id="menuoutline_<%=rs("name") %>" class="menu_body" <% if rs("url") <> url then %>style="display:none"<% end if %>>


		<div class="menu_column_<%= c %>">
			<ul>
	<% old_category = rs("name")
	first_time = false
	end if 
	if rs("redirect") <> "" then %>
	
	 
    

			<li><a href="<%= rs("redirect") %>" <% if rs("new_window") = 1 then response.Write("target=""_blank""") end if %>> 
			
	<%if ( r mod 2 = 0) Then %>				
			<%= "<font color=#660066>" & rs("title")  & "</font>"%>
	<% else %>
            <%= "<font color=#33660>" & rs("title")  & "</font>"%>
	<% end if %>
		
			</a></li>
	
	
	<% else %>
			<li><a href="/<%= rs("url") & "index.asp?pg_id=" & rs("pg_id") %>" <% if rs("new_window") = 1 then response.Write("target=""_blank""") end if %>>
			
	<%if ( r mod 2 = 0) Then %>				
			<%= "<font color=#660066>" & rs("title")  & "</font>"%>
	<% else %>
            <%= "<font color=#33660>" & rs("title")  & "</font>"%>
	<% end if %>
			
			</a></li>
			
     
	


	
				
	<% end if
	if r = half then 
			c = c + 1 %>
			</ul>
		</div>
		<div class="menu_column_<%= c %>">
			<ul>
	<% end if %>
<% rs.movenext
r = r + 1
loop %>

			</ul>
		</div>
	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>

Open in new window

0
 

Author Comment

by:CHCCIT
ID: 26141945
The Source Code on the Page Shows me something a bit different. and also Shows several on click calls
that are the same as you mentioned. But digging into the sources I only see one onclick call.  Where should I go to physically modify and make these changes to correctly apply.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome to the Christian Health Care Center Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css" media="all">
   @import "/includes/css/intranet.css";
</style>

<link rel="stylesheet"
   type="text/css"
   media="print" href="/includes/css/intranet-print.css" />
<script type="text/javascript" src="/includes/js/snow.js"></script>
<center>
            <a href="http://home.chcc" target="_parent">

                <img src="/includes/images/header2.gif" alt="Merry Christmas" />
          </center>
          



<script language="javascript" src="/includes/js/open_win.js" type="text/JavaScript"></script>

<script language="JavaScript" type="text/JavaScript">
<!--

function preload() {
	if(document.images) {
		Open = new Image(11,11);
		Closed = new Image(11,11);
		Open.src = "/includes/images/icon_minus.gif";
		Closed.src = "/includes/images/icon_plus.gif";
	}
}

function showhide(menuListID, menuImgID) {
        var menuList = document.getElementById(menuListID);
        var menuImg = document.getElementById(menuImgID);
      if (menuList.style.display == 'none') {
            menuList.style.display='';
            menuImg.src=Open.src;
      } else {
            menuList.style.display = 'none';
            menuImg.src=Closed.src;
      }
}

preload();


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onLoad="MM_preloadImages('/includes/images/email_on.jpg')">
<br>
<br>
<div class="content">
	<div class="content_header">

		<h2>
			<span class="content_header_left">
				<a href="/"><img src="/includes/images/logo-colored.gif" border="0"></a>
				<a href="/"><img src="/includes/images/logo-text-garamond.gif" border="0"></a>
			</span>
			<span class="content_header_right">
				<a href="http://mail.chccnj.org/exchange/" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/includes/images/email_on.jpg',1)">
					<img src="/includes/images/email_off.jpg" alt="Check your CHCC Email" name="email" width="60" height="47" border="0" align="right">
				</a>

			</span>
		</h2>
		<div>12/29/2009 5:53:59 PM&nbsp;&nbsp;&nbsp;</div>
	</div>
	<!-- BEGIN CONTENT MAIN -->
	<div class="content_main">

<!-- MENUS -->
<div id="menus">
	<div id="menus">

	<!-- all menus -->
	
<div class="menu">
	<div id="menu_Departments" class="menu_header" style="cursor:hand;" onClick="javascript:showhide('menuoutline_Departments','menusign_Departments')">
		
		<img id="menusign_Departments" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Departments
	</div>
	<div id="menuoutline_Departments" class="menu_body" style="display:none">


		<div class="menu_column_1">

			<ul>
	
			<li><a href="/depts/index.asp?pg_id=36" >
			
	<font color=#33660>ADS</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=64" >
			
	<font color=#660066>Clinical Education</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=40" >

			
	<font color=#33660>Food Services</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=43" >
			
	<font color=#660066>HIM</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=47" >
			
	<font color=#33660>Housekeeping</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=48" >
			
	<font color=#660066>Human Resources</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=51" >
			
	<font color=#33660>IT</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=167" >

			
	<font color=#660066>LTC Activities</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=37" >
			
	<font color=#33660>Maintenance</font>
			
			</a></li>
			
     
	


	
				
	
			</ul>
		</div>
		<div class="menu_column_2">

			<ul>
	
			<li><a href="/depts/index.asp?pg_id=55" >
			
	<font color=#660066>Marketing</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=110" >
			
	<font color=#33660>ODSE</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=62" >

			
	<font color=#660066>PAM</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=58" >
			
	<font color=#33660>Pastoral Care</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=61" >
			
	<font color=#660066>Pathways</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=97" >
			
	<font color=#33660>Patient Accounting</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=132" >
			
	<font color=#660066>QRS</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/depts/index.asp?pg_id=192" >

			
	<font color=#33660>Social Work Council</font>
			
			</a></li>
			
     
	


	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Information" class="menu_header" style="cursor:hand;" onClick="javascript:showhide('menuoutline_Departments','menusign_Departments')">

		
		<img id="menusign_Information" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Information
	</div>
	<div id="menuoutline_Information" class="menu_body" style="display:none">


		<div class="menu_column_1">
			<ul>
	
			<li><a href="/info/index.asp?pg_id=112" >
			
	<font color=#33660>Annual Report Template</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=111" >
			
	<font color=#660066>Budget and Cost Center Codes</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=71" >
			
	<font color=#33660>Campus Map</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="\includes\pdf\acronyms.pdf" > 
			
	<font color=#660066>CHCC Acronyms</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="\docs\October Complete.pps" > 
			
	<font color=#33660>Coffee with the President</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=45" target="_blank"> 
			
	<font color=#660066>Community Benefit Inventory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=161" >
			
	<font color=#33660>Emergency Contacts</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=187" >
			
	<font color=#660066>Emergency Plans</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=78" >
			
	<font color=#33660>Events and Happenings</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=68" >

			
	<font color=#660066>The Joint Commission</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=69" >
			
	<font color=#33660>Journey to Excellence</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="\docs\Management Guide.pdf" target="_blank"> 
			
	<font color=#660066>Management Guide</font>
		
			</a></li>

	
	
	
			<li><a href="/info/index.asp?pg_id=75" >
			
	<font color=#33660>Medical Formulary</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="\docs\bylaws.pdf" target="_blank"> 
			
	<font color=#660066>Medical Staff Bylaws</font>
		
			</a></li>
	
	
	
			</ul>
		</div>

		<div class="menu_column_2">
			<ul>
	
	
	 
    

			<li><a href="/includes/pdf/MSList.pdf" target="_blank"> 
			
	<font color=#33660>Medical Staff Listing</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://www.state.nj.us/infobank/njzips.htm" > 
			
	<font color=#660066>New Jersey Zip Codes</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="\includes\pdf\Notification Templates.pdf" > 
			
	<font color=#33660>Notification Templates</font>

		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=79" >
			
	<font color=#660066>Organizational Charts</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/includes/pdf/Overhead_Paging.pdf" > 
			
	<font color=#33660>Overhead Paging</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=199" >

			
	<font color=#660066>Policy and Procedure</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=146" >
			
	<font color=#33660>Recipe Cards</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/includes/pdf/contractvendors.pdf" > 
			
	<font color=#660066>RRPH Contracted Vendors</font>
		
			</a></li>

	
	
	
	
	 
    

			<li><a href="/info/site_map.asp" > 
			
	<font color=#33660>Site Map</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/includes/pdf/Spirit_Path.pdf" > 
			
	<font color=#660066>Spirit Path Map</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=121" >
			
	<font color=#33660>Standing Room Only</font>

			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/info/Telephone Directory 2007.pdf" > 
			
	<font color=#660066>Telephone Directory</font>
		
			</a></li>
	
	
	
			<li><a href="/info/index.asp?pg_id=185" >
			
	<font color=#33660>Uniform Code Unity</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/info/index.asp?pg_id=204" >

			
	<font color=#660066>HICS 2009</font>
			
			</a></li>
			
     
	


	
				
	
			</ul>
		</div><!-- end menu column -->
	</div><!-- end menu_body -->
</div><!-- end menu -->
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>
	
<div class="menu">
	<div id="menu_Services" class="menu_header" style="cursor:hand;" onClick="javascript:showhide('menuoutline_Departments','menusign_Departments')">

		
		<img id="menusign_Services" src="/includes/images/icon_plus.gif" align="right" vspace="5" hspace="5">
		Services
	</div>
	<div id="menuoutline_Services" class="menu_body" style="display:none">


		<div class="menu_column_1">
			<ul>
	
	
	 
    

			<li><a href="http://server18/wfc/logon" target="_blank"> 
			
	<font color=#33660>ADP Enterprise E-time</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://ampweb.chcc" target="_blank"> 
			
	<font color=#660066>AMP</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://67.90.56.98/facilitylink2" target="_blank"> 
			
	<font color=#33660>ChemRx Facility Link </font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=32" > 
			
	<font color=#660066>Computer Registration</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/contractor/" > 
			
	<font color=#33660>Contractor / Vendor Sign-In</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server5/dwis3/cgi/dwis.pl" > 
			
	<font color=#660066>DocuWare</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=169" >
			
	<font color=#33660>Downloadable Forms</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=196" >
			
	<font color=#660066>Educational Opportunities</font>
			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=171" >
			
	<font color=#33660>Evaluation</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="http://10.0.0.92:9081/cccprod/" > 
			
	<font color=#660066>HCS</font>

		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=82" >
			
	<font color=#33660>Healthcare & Medical Library</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=34" > 
			
	<font color=#660066>Insurance Form</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/depts/index.asp?pg_id=51" > 
			
	<font color=#33660>IT Work Orders</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://infor.chcc.org/web/base/callerlogindisp?tenant=PRD" target="_blank"> 
			
	<font color=#660066>Maintenance Work Order</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=145" >
			
	<font color=#33660>Medicare D - PDP</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="https://www.mdsnj.com/ClientLogin.aspx" > 
			
	<font color=#660066>Mobile Diagnostics</font>

		
			</a></li>
	
	
	
			</ul>
		</div>
		<div class="menu_column_2">
			<ul>
	
	
	 
    

			<li><a href="https://support.mobilexusa.com/mxlive/Default.aspx" target="_blank"> 
			
	<font color=#33660>Mobilex</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=166" >

			
	<font color=#660066>MSDS</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/new_hire.asp" > 
			
	<font color=#33660>New Hire/Status Change</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server3/rmweb3/riskweb3.dll/FrmLogin" > 
			
	<font color=#660066>Occurrence Reporting</font>
		
			</a></li>

	
	
	
			<li><a href="/services/index.asp?pg_id=189" >
			
	<font color=#33660>Orientation Checklists</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/rnc.asp" > 
			
	<font color=#660066>RNC Form</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=191" >
			
	<font color=#33660>SigmaCare</font>

			
			</a></li>
			
     
	


	
				
	
			<li><a href="/services/index.asp?pg_id=86" >
			
	<font color=#660066>Special Event Reservation</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=25" > 
			
	<font color=#33660>Storage Request</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/form.asp?fid=41" > 
			
	<font color=#660066>Thank-You Cards</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="/forms/tracking_referral.asp" > 
			
	<font color=#33660>Tracking Referrals</font>
		
			</a></li>
	
	
	
			<li><a href="/services/index.asp?pg_id=89" >
			
	<font color=#660066>Transportation Scheduling</font>
			
			</a></li>
			
     
	


	
				
	
	
	 
    

			<li><a href="/forms/form.asp?fid=33" > 
			
	<font color=#33660>Travel Requisition</font>

		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://www.yellowpages.com" target="_blank"> 
			
	<font color=#660066>YellowPages.com</font>
		
			</a></li>
	
	
	
	
	 
    

			<li><a href="http://server21/winscribetext/portal/" > 
			
	<font color=#33660>Winscribe</font>
		
			</a></li>
	
	
	

			</ul>
		</div>

	</div>
</div>
<div class="spacer" style="padding:1px 0px 0px 0px;"></div>

	<!-- THOUGHT OF THE WEEK -->
	<div class="menu">
	<div class="menu_header">Thought of the Week</div>
	<div class="menu_body_totw">
		<br>
		<!-- Query from DB -->

		"Here's the thing.  In every life crisis, there's that moment when you must choose whether to trade down to despair, or up to joy.  I will choose joy!"<br><br>Dorothy Wilhelm, from the poem, "For As Long As It Matters"<br>  <br><br>
		<br>&nbsp;
	</div>
</div>
	<!-- END THOUGHT OF THE WEEK -->
	<!-- MISSION STATEMENT -->
	<div class="menu">
	<div class="menu_header">About CHCC</div>

	<div class="menu_body" style="background: url('/includes/images/menu-hands-background.gif') no-repeat center right;">
		<br>
		<p style="padding: 0px 0px 0px 5px;"><font size="1">Christian Health Care Center was founded in 1911 by a group of 
		deacons from local Reformed and Christian Reformed Churches. Today, CHCC - a 
		non-profit organization open to anyone regardless of race, sex, or religion - 
		provides a continuum of high-quality, family-centered elder-care and mental-health 
		services in a compassionate and loving environment consistent with the Christian 
		principles on which the institution was founded.</font></p>
		<p align="center"><font size="1"><a href="#" onclick="javascript:window.open('/includes/asp/mission.asp', 'Mission', 'width=350,height=350,scrollbars=yes,resize=yes');">Mission Statement and Vision</a></font></p>
	</div>
</div>
	<!-- END MISSION STATEMENT -->
	</div>

</div>
<!-- END MENUS -->

<!-- BEGIN CONTENT BODY -->
		<div id="content_body">
			<!-- BEGIN PILLARS -->
			<div style="float:left; "><a href="javascript:open_win_size('/pillars/',680,560);"><img border=0 color = white hspace="30" src="/includes/images/pillars/homepage.jpg"></a></div>
<div class="body_menu_brown">
	
	<div>
		
		<div class="spacer"></div>
	</div>

</div>
			<div class="spacer"></div>
			<!-- END PILLARS -->
			
			<br>
		  <div>
				<!-- BEGIN CHCC INFO MENU -->	
				<div class="body_menu_red">
					<div class="body_menu_red_title"><span>Lunch Menu</span></div>
					
					<div class="lunch_home">

					  <table>
					<tr><td valign="top"><strong>Main Course:</strong></td>
					<td valign="top">Cheeseburger</td></tr>
					<tr><td valign="top"><strong>Soup:</strong></td>
					<td valign="top">Potato leek</td></tr>
					<tr><td valign="top"><strong>Side Dishes:</strong></td>

					<td valign="top">French Fries<br>Salad Bar
					</td></tr>
					<tr><td valign="top"><strong>Dessert:</strong></td>
					<td valign="top">Pudding</td></tr>
					<tr><td colspan="2" class="body"><a href="/depts/employee_menu.asp">Click here for this weeks menu</a></td></tr>
					</table>
				  </div>

					<p>
					  
				  </p>
				</div>
				<!-- END CHCC INFO -->
                				<!-- <div style="width:40px;float:left;margin: 1px 1px 1px 1px; padding: 1px 1px 1px 1px;border: 1px solid red;"></div> -->
				<!-- BEGIN WEATHER -->	
				<div class="body_menu_purple">
					<div class="body_menu_purple_title"><span>Weather</span></div>
					<div>

					<script type="text/javascript" language="javascript1.2" src="http://weatherreports.com/jscript.html?width=234&height=60&theme=brand_no_search_box&location=07481&units=f">
</script>
<div></div>
                    </div>
					<div class="fineprint">
					  <p>View weather for <a href="#" onclick="javascript:window.open('includes/xml/weather_pop.asp?zip=07470', 'weather', 'width=330,height=250');">Wayne</a>
					  </p>
</div>
				</div>

				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
				<p>&nbsp;</p>
			
			  <!-- END WEATHER -->
			</div>
            <p>&nbsp;</p>
		</div>
        <p>&nbsp;</p>

        
				<!-- END CONTENT BODY -->

	<div class="spacer"></div>
	</div><!-- END CONTENT MAIN -->
</div><!-- END CONTENT -->
<!-- COPYRIGHT INFO -->
<div class="spacer"></div>
<div class="footer" align="center">Copyright &copy; Christian Health Care Center. All rights reserved.</div>
<div class="spacer"></div>
</body>
</html>

Open in new window

0
 

Author Comment

by:CHCCIT
ID: 26142611
So Again as I am looking over taking over someone else work I need to know if more functions need to be placed in the header or if the menu script needs to be changed I am confused as to where thanks.
0
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 2000 total points
ID: 26144294
Aha. Sorry.

In the cms_header.asp, use the replace the showhide function with ...

function showhide(menuListId, menuImgId) {
      var menuList = document.getElementById(menuListId),
          menuImg  = document.getElementById(menuImgId);
      if (menuList.style.display == 'none') {
            menuList.style.display='';
            menuImg.src=Open.src;
      } else {
            menuList.style.display = 'none';
            menuImg.src=Closed.src;
      }
}


and in the cms_right_menu.asp, replace ...

      <div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_<%=rs("name") %>,menusign_<%=rs("name") %>)">


with (Notice the addition of some single quotes) ...

      <div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide('menuoutline_<%=rs("name") %>','menusign_<%=rs("name") %>')">


If that doesn't work (I don't know the escape rules of VB, but you could try (here the single quotes are doubled - NOT a double quote " , but 2 single quotes '' ...

      <div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(''menuoutline_<%=rs("name") %>'',''menusign_<%=rs("name") %>'')">


For the sake of readability, I've c'n'p'd the above text into the code section to hopefully show the single quotes more clearly.

Aha. Sorry.

In the cms_header.asp, use the replace the showhide function with ...

function showhide(menuListId, menuImgId) {
	var menuList = document.getElementById(menuListId),
	    menuImg  = document.getElementById(menuImgId);
	if (menuList.style.display == 'none') {
		menuList.style.display='';
		menuImg.src=Open.src;
	} else {
		menuList.style.display = 'none';
		menuImg.src=Closed.src;
	}
}


and in the cms_right_menu.asp, replace ...

	<div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(menuoutline_<%=rs("name") %>,menusign_<%=rs("name") %>)">


with (Notice the addition of some single quotes) ...

	<div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide('menuoutline_<%=rs("name") %>','menusign_<%=rs("name") %>')">


If that doesn't work (I don't know the escape rules of VB, but you could try (here the single quotes are doubled - NOT a double quote " , but 2 single quotes '' ...

	<div id="menu_<%=rs("name") %>" class="menu_header" style="cursor:hand;" onClick="javascript:showhide(''menuoutline_<%=rs("name") %>'',''menusign_<%=rs("name") %>'')">

Open in new window

0
 

Author Comment

by:CHCCIT
ID: 26144951
I do not know how to thank you much but this truly worked and the code you provided really sealed the deal thanks for being very patient and helping in this matter this topic is now closed.
0
 

Author Closing Comment

by:CHCCIT
ID: 31667828
Truly great work here indeed. I have been thrown into a mess at work and was told that this needed to be corrected and unfortunately I am not an expert in this area. I appreciate all your support in this matter and again thank you.
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 26144986
No problem. Sorry it took so long. Sometimes, you can't see the wood for the trees.
0
 

Author Comment

by:CHCCIT
ID: 26145975
Understood but at least you were able to see it thanks again
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

850 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