Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:01
popup and popdown do not work with onmouseover
Poster: ironmann
Dated: Wednesday December 15 2004 - 21:23:49 GMT
I have an intranet site that uses the menu with popup and popdown when mousing over links. It works perfectly and I love it.
For reasons too lengthy to describe, we needed to move the javascripts to a new folder. Now the menu doesn't popup until a link is clicked. Then menus popup and popdown correctly until I follow one of the menu links. Then the menu will not popup on the resulting page until I click on one of the main links on that page.
There must be a path or file that I didn't change...but I can't find it. Please help.
I'll put the perl code with the menu code below. Keep in mind that it worked perfectly before I moved the scripts folder. Here is the directory structure:
(original path)
public_html/subdomainName/cgi-bin/adult_tracker/perlScripts
public_html/subdomainName/javascripts/ezraMenu/milonicScripts
(new path)
public_html/subdomainName/cgi-bin/adult_tracker/perlScripts
public_html/subdomainName/ezraMenu
print "<script type='text/javascript' src='../ezraMenu/milonic_src.js'></script>\n";
print "<script type='text/javascript'>
<!--
if(ns4)_d.write(\"<script language=JavaScript src=../ezraMenu/mmenuns4.js><\/script>\");
else _d.write(\"<script language=JavaScript src=../ezraMenu/mmenudom.js><\/script>\");
-->
</script>\n";
print "<script type='text/javascript' src='../ezraMenu/adult_menu_data.js'></script>\n";
print "<table width='750' class='main' >\n";
print "<tr><td class='nav'>\n";
print "<a class='nav' href=\"members.pl\" onmouseover=\"popup('Members')\" onmouseout=popdown() > Members</a>\n";
print "<img src=\"/images/appImages/spacer.gif\">\n";
print "<a class='nav' href=\"addservice.pl?ACTION=SEARCHMEETING\" onmouseover=\"popup('Meetings')\" onmouseout=popdown() >Meetings</a>\n";
print "<img src=\"/images/appImages/spacer.gif\">\n";
print "<a class='nav' href=\"autoserviceattendance.pl?ACTION=SEARCHATTENDANCE\" onmouseover=\"popup('Attendance')\" onmouseout=popdown() >Attendance</a>\n";
print "<img src=\"/images/appImages/spacer.gif\">\n";
print "<a class='nav' href=\"contributions.pl\" name=\"link4\" id=\"link4\" onmouseover=\"popup('Contributions');status('test')\" onmouseout=popdown() >Contributions</a>\n";
print "<img src=\"/images/appImages/spacer.gif\">\n";
print "<a class='nav' href=\"/test/cgi-bin/admin.pl\" onmouseover=\"popup('Administration')\" onmouseout=popdown() >Administration</a>\n";
print "<img src=\"/images/appImages/spacer.gif\">\n";
print "<a class='nav' href =javascript: onClick=\"helpWindow('/help/help.html','window3')\" onmouseover=\"popup('Help')\" onmouseout=popdown() >Help</a>";
print "<img src=\"/images/appImages/spacer.gif\"></td></tr>\n";