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:36
Script Error menuStyle not defined sorry it is long
Poster: gsterner65
Dated: Thursday April 26 2007 - 17:46:44 BST
Okay this is a simple fix and I know it but for the life of me I cannot figure it out. I did find one reference
to it on your website on how to fix it but I stll can figure out why it is not working.
I am using the free version with a link to our site (we are a non-profit agency.) I am redoing our main
website using your DHTML menu.
The site is not yet published it is still in the works and has to go through the red tape
before I can make it live.
Anyway I am using php, mysql and have figured all that out but I am calling the mainmenu
which is called topmenu.html in my index.php.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.php" type=text/javascript></SCRIPT>
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=About;showmenu=About;");
aI("text=Events;showmenu=Events;");
aI("text=Employment;showmenu=Employment;");
aI("text=Membership;showmenu=Membership;");
aI("text=Correctional Support;showmenu=Correctional Support;");
aI("text=School Mapping;showmenu=School Mapping;");
aI("text=Crime Statistics;showmenu=Crime Statistics;");
aI("text=Sex Offenders;showmenu=Sex Offenders;");
aI("text=Jails;showmenu=Jails;");
aI("text=Links;showmenu=Links;");
aI("text=Projects;showmenu=Projects;");
}
drawMenus();
</script>
</body>
</html>
Index.php code
include("lib/common.lib.php");
$pagetitle = "Washington Association of Sheriffs and Police Chiefs";
$topmenu = read_file("template/topmenu.html");
//$leftmenu = read_file("template/leftmenu.html");
this works but for one thing.
I get a script error when it tries to read the menu_data.php file
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but
causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#0058A9";
offcolor="#ffffff";
onbgcolor="#D6CD72";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
position="relative";
separatorcolor="#999999";
separatorsize=1;
subimage="images/arrows.gif";
subimagepadding=.75;
}
with(milonic=new menuname("About")){
style=menuStyle;
aI("text=Staff;url=http://www.waspc.org/index.php?d=113;")
aI("text=Mission;url=http://www.waspc.org/index.php?d=112;")
aI("text=Executive Board;url=http://www.waspc.org/index.php?d=102;")
aI("text=Training Facility;url=http://www.waspc.org/index.php?c=Training/Meeting%20Facility;")
aI("text=Legislation;url=http://www.waspc.org/index.php?c=Legislation;")
aI("text=Memorabilia;url=http://www.waspc.org/index.php?c=Memorabilia;")
}
<html>
<head>
</head>
<body>
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.php" type=text/javascript></SCRIPT>
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=About;showmenu=About;");
aI("text=Events;showmenu=Events;");
aI("text=Employment;showmenu=Employment;");
aI("text=Membership;showmenu=Membership;");
aI("text=Correctional Support;showmenu=Correctional Support;");
aI("text=School Mapping;showmenu=School Mapping;");
aI("text=Crime Statistics;showmenu=Crime Statistics;");
aI("text=Sex Offenders;showmenu=Sex Offenders;");
aI("text=Jails;showmenu=Jails;");
aI("text=Links;showmenu=Links;");
aI("text=Projects;showmenu=Projects;");
}
drawMenus();
</script>
</body>
</html>
Index.php code
include("lib/common.lib.php");
$pagetitle = "Washington Association of Sheriffs and Police Chiefs";
$topmenu = read_file("template/topmenu.html");
//$leftmenu = read_file("template/leftmenu.html");
this works but for one thing.
I get a script error when it tries to read the menu_data.php file
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but
causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#0058A9";
offcolor="#ffffff";
onbgcolor="#D6CD72";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
position="relative";
separatorcolor="#999999";
separatorsize=1;
subimage="images/arrows.gif";
subimagepadding=.75;
}
with(milonic=new menuname("About")){
style=menuStyle;
aI("text=Staff;url=http://www.waspc.org/index.php?d=113;")
aI("text=Mission;url=http://www.waspc.org/index.php?d=112;")
aI("text=Executive Board;url=http://www.waspc.org/index.php?d=102;")
aI("text=Training Facility;url=http://www.waspc.org/index.php?c=Training/Meeting%20Facility;")
aI("text=Legislation;url=http://www.waspc.org/index.php?c=Legislation;")
aI("text=Memorabilia;url=http://www.waspc.org/index.php?c=Memorabilia;")
}
( I only copied the top part of this code)
I did find this info on your website but still cannot make sence of how come my menuStyle is not define.
what exactly do I have to do to define it? Help this site has to be ready for review tomorrow.
Code:
Posted by: Listener
Friday April 1 2005 - 3:01:33 BST
Hi, trying to get the menu to work in a table. Yes I've read about it on the site and thought I had followed the directions.
Source of error: http://www.vancouverlacrosse.org/top3.asp
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>_top</title>
</head>
<body bgcolor="#7F95B2" topmargin="0"><SCRIPT language="JavaScript" src="http://www.vancouverlacrosse.org/hjs/milonic_src.js" type="text/javascript"></SCRIPT>
<script language="JavaScript">
if (parent.frames.length) { top.location=document.location;}
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=http://www.vancouverlacrosse.org/hjs/mmenuns4.js></scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=http://www.vancouverlacrosse.org/hjs/mmenudom.js></scr"+"ipt>");
</script>
<SCRIPT language="JavaScript" src="http://www.vancouverlacrosse.org/hjs/vl-menu_data.js" type="text/javascript"></SCRIPT>
<div align="center">
<center>
<table border="0" cellspacing="0" width="808" height="63" cellpadding="0" style="border-left-style: solid #000000;
border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-width: 1">
<tr>
<td width="768" height="50" colspan="2">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row1.gif"
width="768" height="50"></td>
<td width="40" height="227" rowspan="5" background="images/bg/40x200.gif">
</td>
</tr>
<tr>
<td width="768" height="146" colspan="2">
<map name="FPMap0">
<area href="http://www.vancouverlacrosse.org/senior.asp"
shape="circle" coords="58, 35, 33">
<area href="http://www.vancouverlacrosse.org/field.asp"
shape="circle" coords="133, 32, 32">
<area href="http://www.vancouverlacrosse.org/minor.asp"
shape="circle" coords="99, 88, 33">
</map>
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row2.gif"
width="768" height="146" usemap="#FPMap0"></td>
</tr>
<tr>
<td width="768" height="1" colspan="2">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row3.gif"
width="768" height="4"></td>
</tr>
<tr>
<td width="50" height="16">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row4a.gif"
width="50" height="16"></td>
<td width="718" height="16" bgcolor="#FFFFFF"><script>
with(milonic=new menuname("Mainmenu")){
style=menuStyle;
top=208;
left=117;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Home/News;showmenu=News;url=
http://www.vancouverlacrosse.org/index2.asp;
status=Back To Home Page;");
aI("text=Scheds;showmenu=Schedules;");
aI("text=Stats;showmenu=Statistics;");
aI("text=Rosters;showmenu=Rosters;");
aI("text=Photos;showmenu=Photos;title=Photo Gallery;");
aI("text=Information;showmenu=Information;");
aI("text=Forum;showmenu=Forums;");
aI("text=Links;showmenu=Links;");
aI("text=Contacts;showmenu=Contacts;title=Contact Us;");
}
drawMenus();
</script>
</td>
</tr>
<tr>
<td width="768" height="14" colspan="2" bgcolor="#FFFFFF">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row5.gif"
width="50" height="14"></td>
</tr>
</table>
</center>
</div>
</body>
</html>
Friday April 1 2005 - 3:01:33 BST
Hi, trying to get the menu to work in a table. Yes I've read about it on the site and thought I had followed the directions.
Source of error: http://www.vancouverlacrosse.org/top3.asp
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>_top</title>
</head>
<body bgcolor="#7F95B2" topmargin="0"><SCRIPT language="JavaScript" src="http://www.vancouverlacrosse.org/hjs/milonic_src.js" type="text/javascript"></SCRIPT>
<script language="JavaScript">
if (parent.frames.length) { top.location=document.location;}
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=http://www.vancouverlacrosse.org/hjs/mmenuns4.js></scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=http://www.vancouverlacrosse.org/hjs/mmenudom.js></scr"+"ipt>");
</script>
<SCRIPT language="JavaScript" src="http://www.vancouverlacrosse.org/hjs/vl-menu_data.js" type="text/javascript"></SCRIPT>
<div align="center">
<center>
<table border="0" cellspacing="0" width="808" height="63" cellpadding="0" style="border-left-style: solid #000000;
border-left-width: 1; border-right-width: 1; border-top-width: 1;
border-bottom-width: 1">
<tr>
<td width="768" height="50" colspan="2">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row1.gif"
width="768" height="50"></td>
<td width="40" height="227" rowspan="5" background="images/bg/40x200.gif">
</td>
</tr>
<tr>
<td width="768" height="146" colspan="2">
<map name="FPMap0">
<area href="http://www.vancouverlacrosse.org/senior.asp"
shape="circle" coords="58, 35, 33">
<area href="http://www.vancouverlacrosse.org/field.asp"
shape="circle" coords="133, 32, 32">
<area href="http://www.vancouverlacrosse.org/minor.asp"
shape="circle" coords="99, 88, 33">
</map>
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row2.gif"
width="768" height="146" usemap="#FPMap0"></td>
</tr>
<tr>
<td width="768" height="1" colspan="2">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row3.gif"
width="768" height="4"></td>
</tr>
<tr>
<td width="50" height="16">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row4a.gif"
width="50" height="16"></td>
<td width="718" height="16" bgcolor="#FFFFFF"><script>
with(milonic=new menuname("Mainmenu")){
style=menuStyle;
top=208;
left=117;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Home/News;showmenu=News;url=
http://www.vancouverlacrosse.org/index2.asp;
status=Back To Home Page;");
aI("text=Scheds;showmenu=Schedules;");
aI("text=Stats;showmenu=Statistics;");
aI("text=Rosters;showmenu=Rosters;");
aI("text=Photos;showmenu=Photos;title=Photo Gallery;");
aI("text=Information;showmenu=Information;");
aI("text=Forum;showmenu=Forums;");
aI("text=Links;showmenu=Links;");
aI("text=Contacts;showmenu=Contacts;title=Contact Us;");
}
drawMenus();
</script>
</td>
</tr>
<tr>
<td width="768" height="14" colspan="2" bgcolor="#FFFFFF">
<img border="0" src="http://www.vancouverlacrosse.org/images/bg/row5.gif"
width="50" height="14"></td>
</tr>
</table>
</center>
</div>
</body>
</html>
Which results in this message using MSIE 6.0
I'm cross-eyed looking for this problem and you expert assistance would be appreciated.
Thank you
--------------------------------------------------------------------------------
Posted by: Ruth
Friday April 1 2005 - 4:10:56 BST
Well, uncross the eyes This is something I have done a number of times, so don't feel too bad.
Take a look at this line in your main menuCode:
with(milonic=new menuname("Mainmenu")){
style=menuStyle;
The only problem is that there is no menuStyle defined in the vl_menu_data.js file.
Ruth
--------------------------------------------------------------------------------
Posted by: Listener
Friday April 1 2005 - 5:12:19 BST
Ruth wrote:
Well, uncross the eyes
LOL, thxs.
Ruth wrote:
Take a look at this line in your main menuCode:
with(milonic=new menuname("Mainmenu")){
style=menuStyle;
The only problem is that there is no menuStyle defined in the vl_menu_data.js file.
Ummm, I disagree becuase I think this is the defined style:
Code:
with(horizStyle=new mm_style()){
styleid=1;
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=0;
fontfamily="tahoma, arial";
fontsize="71%";
fontstyle="normal";
headerbgcolor="#FFFFFF";
headerborder=0;
headercolor="#EDEDED";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)"
screenposition="center"
bgimage="http://www.vancouverlacrosse.org/hjs/1x16-nav.gif"
offcolor="#FFFFFF";
onbgcolor="#EDEDED";
onborder="1px solid #333333";
oncolor="#FFFFFF";
onsubimage="http://www.vancouverlacrosse.org/hjs/on_downboxed.gif";
overbgimage="http://www.vancouverlacrosse.org/hjs/backon_beige.gif";
padding=6;
pagebgcolor="#FFFFFF";
pagecolor="#FFFFFF";
pageimage="http://www.vancouverlacrosse.org/hjs/db_red.gif";
separatoralign="right";
separatorcolor="#0053A2";
separatorsize="1";
separatorwidth="85%";
subimage="http://www.vancouverlacrosse.org/hjs/downboxed.gif";
}
Isn't it Ruth ?
--------------------------------------------------------------------------------
Posted by: kevin3442
Friday April 1 2005 - 10:40:15 BST
Hi Listener,
I hope Ruth doesn't mind me jumping in. But I'm awake and this is a quick one:
Listener wrote:
Ummm, I disagree becuase I think this is the defined style:
Code:
with(horizStyle=new mm_style()){
...
Tis true... it is a defined style, but alas, not the defined style.
Your style is named horizStyle, but your menu is looking for a style
named menuStyle. You gotta fix the name in one place or the
other so that they are the same.
Cheers,
Kevin
--------------------------------------------------------------------------------
Posted by: Listener
Friday April 1 2005 - 16:17:47 BST
Thank you both I feel like a bit of a dunce just now but I'm happier. I do have a couple of more issues,
to do with the style but not the error since that's now solved - thank you again.
Should I start a new thread or carry on?
In the hope I may ask here ....
Source page: http://www.vancouverlacrosse.org/template.asp
Is there a way to establish a horizontal menu margin between the
vertical spacers and the text?
And is there a way to make the menu auto fill the available cell
space which is 718 pixels.
Lastly, I hope what setting controls how fast a submenu closes?
Example on source page given, Information, More Information
(sub menu) takes a long time to close.
Thank you.
--------------------------------------------------------------------------------
Posted by: Ruth
Saturday April 2 2005 - 23:03:19 BST
Listener wrote:
Is there a way to establish a horizontal menu margin between the
vertical spacers and the text?
Add this to the horizontal menu style definition: Code:
rawcss="padding:1px 3px 1px 3px";
That will make the padding in the item 1px at the
top and bottom as you now have it, and 3px at right and left
which will of course increase the space to the right and left of the separator.
Listener wrote:
And is there a way to make the menu auto fill the available cell space which is 718 pixels.
Try adding itemwidth=78; in the main menu on the page, just below position="relative";
Listener wrote:
Lastly, I hope what setting controls how fast a submenu closes?
Example on source page given, Information,
More Information (sub menu) takes a long time to close.
You have keepalive=1; set in the style definitions, remove that.
The site looks really nice.
Ruth
--------------------------------------------------------------------------------
Posted by: Listener
Sunday April 3 2005 - 1:24:23 BST
Ruth,
Ruth wrote:
The site looks really nice.
Thank you and your a wonder. Each of your suggestions worked to perfection.
Once again thank you and Keith for your help.
I will most assuredly use this product in other design projects as they
come up.
Listener
aka: John Vickers, Project Mgr. for
http://www.bccommunities.net
--------------------------------------------------------------------------------
Posted by: Listener
Sunday April 3 2005 - 1:25:22 BST
Oops it's Kevin not Keith
--------------------------------------------------------------------------------
Posted by: Ruth
Sunday April 3 2005 - 3:52:41 BST
Saturday night, bending the elbow, huh Have another beer
Ruth
[/b]
Poster: Ruth
Dated: Thursday April 26 2007 - 23:48:24 BST
Hi,
Well, it seems your menuStyle is defined, but without a page we'll not be able to tell the problem. At a guess, the path to your menu files is not correct. If it can't find the program files, it will give that kind of message, so make sure the paths to all your Milonic files are correct.
If that's not it, we would really need to see the page, even a test page with the same problem so we can figure what's up.
Ruth
I went a different route and have resolved my first issues
Poster: gsterner65
Dated: Friday April 27 2007 - 0:51:15 BST
Now I have another issue I am trying to figure out why my menu is not showing up when I run my test. I see that it is being called and getting noticed on the test gindex.php but yet the menu does not show up.
I have placed my test pages in our main website.
Here is my new code.
topmenu.html
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<table>
<TR>
<TD>
<script type="text/javascript" src="milonic_src.js"></script>
<a class=milonic href="http://www.milonic.com/">DHTML JavaScript Website Pull Down Navigation Menu By Milonic</a>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="buildAfterLoad_data.js"></script>
</TD>
</TR>
</TABLE>
</body>
</html>
buildAfterLoad_data.js code
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem,
toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
buildAfterLoad=true;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#0058A9";
offcolor="#ffffff";
onbgcolor="#D6CD72";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
position="relative";
separatorcolor="#999999";
separatorsize=1;
subimage="images/garrows.gif";
subimagepadding=.75;
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=About;showmenu=About;");
aI("text=Events;showmenu=Events;");
aI("text=Employment;showmenu=Employment;");
aI("text=Membership;showmenu=Membership;");
aI("text=Correctional Support;showmenu=Correctional Support;");
aI("text=School Mapping;showmenu=School Mapping;");
aI("text=Crime Statistics;showmenu=Crime Statistics;");
aI("text=Sex Offenders;showmenu=Sex Offenders;");
aI("text=Jails;showmenu=Jails;");
aI("text=Links;showmenu=Links;");
aI("text=Projects;showmenu=Projects;");
}
with(milonic=new menuname("About")){
style=menuStyle;
aI("text=Staff;url=http://www.waspc.org/index.php?d=113;");
aI("text=Mission;url=http://www.waspc.org/index.php?d=112;")
aI("text=Executive Board;url=http://www.waspc.org/index.php?d=102;");
aI("text=Training Facility;url=http://www.waspc.org/index.php?c=Training/Meeting%20Facility;");
aI("text=Legislation;url=http://www.waspc.org/index.php?c=Legislation;");
aI("text=Memorabilia;url=http://www.waspc.org/index.php?c=Memorabilia;");
}
with(milonic=new menuname("Events")){
style=menuStyle;
aI("text=Calendar;url=http://www.waspc.org/index.php?c=Calendar;");
aI("text=Conference;url=http://www.waspc.org/
index.php?c=Conference%20Information;");
aI("text=Training;url=http://www.waspc.org/index.php?c=Training%20Opportunities;");
}
with(milonic=new menuname("Employment")){
style=menuStyle;
aI("text=WASPC Opportunities;url=http://www.waspc.org/index.php?c=Employment;");
aI("text=Employment Listings;url=http://www.waspc.org/index.php?c=Employment;");
aI("text=Law Enforcement Jobs;url=http://www.lawenforcementjobs.com/;target='blank';");
aI("text=Washington State Job Opportunities;url=http://www.dop.wa.gov/;target='blank';");
}
with(milonic=new menuname("Membership")){
style=menuStyle;
aI("text=Login;url=http://www.waspc.org/login.php;");
aI("text=Membership Information;http://www.waspc.org/index.php?c=Membership%20Info;");
aI("text=Edit Password/Profile;url=http://www.waspc.org/forum/profile.php?mode=editprofile;");
aI("text=GTWO Forums;http://www.waspc.org/forum/;");
aI("text=Directory;url=http://www.waspc.org/index.php?c=Directory;");
aI("text=By-Laws;http://www.waspc.org/index.php?d=115;");
aI("text=Model Policies;url=http://www.waspc.org/index.php?c=Model%20Policies;");
aI("text=Jail Managers Forum;url=http://www.waspc.org/index.php?c=Members%20Publications;");
aI("text=Publications;url=http://www.waspc.org/index.php?c=Model%20Policies;");
}
with(milonic=new menuname("Correctional Support")){
style=menuStyle;
aI("text=Electronic Home Monitoring;url=http://www.waspc.org/
index.php?c=Electronic%20Monitoring%20Services%20and%20Equipment;");
aI("text=Full Service Program;url=http://www.waspc.org/index.php?c=Full%20Service%20Electronic%20Monitoring;");
aI("text=Drug Testing Products;url=http://www.waspc.org/index.php?c=On-site%20Drug%20Testing%20Products';");
}
with(milonic=new menuname("School Mapping")){
style=menuStyle;
aI("text=School Mapping;url=http://www.waspc.org/
index.php?c=Critical%20Incident%20Planning%20and%20Mapping%20System;");
aI("text=Public Mapping;url=http://www.waspc.org/
index.php?c=Critical%20Incident%20Planning%20and%20Mapping%20System;");
aI("text=CIPMS;url=http://www.waspc.org/
index.php?c=Critical%20Incident%20Planning%20and%20Mapping%20System;");
}
with(milonic=new menuname("Crime Statistics")){
style=menuStyle;
aI("text=Crime Statistics;url=http://www.waspc.org/
index.php?c=Crime%20Statistics;");
aI("text=CJIS/WUCR/NIBRS;url=http://www.waspc.org/index.php?c=Criminal%20Justice%20Information%20Support;");
aI("text=Sex Offender Document Imaging;url=http://www.waspc.org/
index.php?c=Criminal%20Justice%20Information%20Support;");
}
with(milonic=new menuname("Sex Offenders")){
style=menuStyle;
aI("text=Washington State Sex Offenders;url=http://ml.waspc.org/;target='blank';");
aI("text=County Website Links;url=http://www.waspc.org/
index.php?c=Washington%20Sex%20Offender%20Links;");
aI("text=National Sex Offenders;url=http://www.nsopr.gov/;target='blank';");
}
with(milonic=new menuname("Jails")){
style=menuStyle;
aI("text=Jails;url=http://www.waspc.org/index.php?c=Washington%20Jails;");
aI("text=Jail Booking Reporting System;url=http://www.waspc.org/index.php?c=Jail%20Booking%20Reporting%20System;");
aI("text=Jail Statistics;url=http://www.waspc.org/index.php?c=Jail%20Statistics;");
aI("text=Mental Health Summit;url=http://www.waspc.org/index.php?c=Mental%20Health%20Summit;");
aI("text=Reducing Health Care Costs;url=http://www.waspc.org/index.php?c=Reducing%20Health%20Care%20Costs;");
aI("text=Regional Jail Information;url=http://www.waspc.org/
index.php?c=Regional%20Jails;");
aI("text=Related Topics;url=http://www.waspc.org/index.php?c=Related%20Jail%20Topics;");
}
with(milonic=new menuname("Links")){
style=menuStyle;
aI("text=Police Departments;url=http://www.waspc.org/index.php?d=52;");
aI("text=Sheriffs Offices;url=http://www.waspc.org/index.php?d=51;");
aI("text=Counties;http://www.waspc.org/index.php?d=49;");
aI("text=Cities;url=http://www.waspc.org/index.php?d=50;");
aI("text=Items Of Interest;url=http://www.waspc.org/index.php?c=Items%20of%20Interest;");
aI("text=File Download Library;url=http://www.waspc.org/files.php?sort=dlcount;");
}
with(milonic=new menuname("Projects")){
style=menuStyle;
aI("text=DNA Stranger Rape;url=http://www.waspc.org/index.php?c=DNA%20Stranger%20Rape%20Project;");
aI("text=SAVIN;url=testlink.html;");
aI("text=LEMAP;url=http://www.waspc.org/index.php?c=LEMAP;");
aI("text=Law Enforcement Executive Forum;url=http://www.waspc.org/index.php?c=Law%20Enforcement%20Executive%20Forum;");
aI("text=Accreditation;url=http://www.waspc.org/index.php?c=Accreditation;");
aI("text=Contracting;url=http://www.waspc.org/index.php?c=Contracting;");
aI("text=False Alarm Reduction;url=http://www.waspc.org/index.php?c=Other%20Programs;");
}
drawMenus();
<html>
<head>
</head>
<body>
<table>
<TR>
<TD>
<script type="text/javascript" src="milonic_src.js"></script>
<a class=milonic href="http://www.milonic.com/">DHTML JavaScript Website Pull Down Navigation Menu By Milonic</a>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="buildAfterLoad_data.js"></script>
</TD>
</TR>
</TABLE>
</body>
</html>
buildAfterLoad_data.js code
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem,
toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
buildAfterLoad=true;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#0058A9";
offcolor="#ffffff";
onbgcolor="#D6CD72";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
position="relative";
separatorcolor="#999999";
separatorsize=1;
subimage="images/garrows.gif";
subimagepadding=.75;
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=About;showmenu=About;");
aI("text=Events;showmenu=Events;");
aI("text=Employment;showmenu=Employment;");
aI("text=Membership;showmenu=Membership;");
aI("text=Correctional Support;showmenu=Correctional Support;");
aI("text=School Mapping;showmenu=School Mapping;");
aI("text=Crime Statistics;showmenu=Crime Statistics;");
aI("text=Sex Offenders;showmenu=Sex Offenders;");
aI("text=Jails;showmenu=Jails;");
aI("text=Links;showmenu=Links;");
aI("text=Projects;showmenu=Projects;");
}
with(milonic=new menuname("About")){
style=menuStyle;
aI("text=Staff;url=http://www.waspc.org/index.php?d=113;");
aI("text=Mission;url=http://www.waspc.org/index.php?d=112;")
aI("text=Executive Board;url=http://www.waspc.org/index.php?d=102;");
aI("text=Training Facility;url=http://www.waspc.org/index.php?c=Training/Meeting%20Facility;");
aI("text=Legislation;url=http://www.waspc.org/index.php?c=Legislation;");
aI("text=Memorabilia;url=http://www.waspc.org/index.php?c=Memorabilia;");
}
with(milonic=new menuname("Events")){
style=menuStyle;
aI("text=Calendar;url=http://www.waspc.org/index.php?c=Calendar;");
aI("text=Conference;url=http://www.waspc.org/
index.php?c=Conference%20Information;");
aI("text=Training;url=http://www.waspc.org/index.php?c=Training%20Opportunities;");
}
with(milonic=new menuname("Employment")){
style=menuStyle;
aI("text=WASPC Opportunities;url=http://www.waspc.org/index.php?c=Employment;");
aI("text=Employment Listings;url=http://www.waspc.org/index.php?c=Employment;");
aI("text=Law Enforcement Jobs;url=http://www.lawenforcementjobs.com/;target='blank';");
aI("text=Washington State Job Opportunities;url=http://www.dop.wa.gov/;target='blank';");
}
with(milonic=new menuname("Membership")){
style=menuStyle;
aI("text=Login;url=http://www.waspc.org/login.php;");
aI("text=Membership Information;http://www.waspc.org/index.php?c=Membership%20Info;");
aI("text=Edit Password/Profile;url=http://www.waspc.org/forum/profile.php?mode=editprofile;");
aI("text=GTWO Forums;http://www.waspc.org/forum/;");
aI("text=Directory;url=http://www.waspc.org/index.php?c=Directory;");
aI("text=By-Laws;http://www.waspc.org/index.php?d=115;");
aI("text=Model Policies;url=http://www.waspc.org/index.php?c=Model%20Policies;");
aI("text=Jail Managers Forum;url=http://www.waspc.org/index.php?c=Members%20Publications;");
aI("text=Publications;url=http://www.waspc.org/index.php?c=Model%20Policies;");
}
with(milonic=new menuname("Correctional Support")){
style=menuStyle;
aI("text=Electronic Home Monitoring;url=http://www.waspc.org/
index.php?c=Electronic%20Monitoring%20Services%20and%20Equipment;");
aI("text=Full Service Program;url=http://www.waspc.org/index.php?c=Full%20Service%20Electronic%20Monitoring;");
aI("text=Drug Testing Products;url=http://www.waspc.org/index.php?c=On-site%20Drug%20Testing%20Products';");
}
with(milonic=new menuname("School Mapping")){
style=menuStyle;
aI("text=School Mapping;url=http://www.waspc.org/
index.php?c=Critical%20Incident%20Planning%20and%20Mapping%20System;");
aI("text=Public Mapping;url=http://www.waspc.org/
index.php?c=Critical%20Incident%20Planning%20and%20Mapping%20System;");
aI("text=CIPMS;url=http://www.waspc.org/
index.php?c=Critical%20Incident%20Planning%20and%20Mapping%20System;");
}
with(milonic=new menuname("Crime Statistics")){
style=menuStyle;
aI("text=Crime Statistics;url=http://www.waspc.org/
index.php?c=Crime%20Statistics;");
aI("text=CJIS/WUCR/NIBRS;url=http://www.waspc.org/index.php?c=Criminal%20Justice%20Information%20Support;");
aI("text=Sex Offender Document Imaging;url=http://www.waspc.org/
index.php?c=Criminal%20Justice%20Information%20Support;");
}
with(milonic=new menuname("Sex Offenders")){
style=menuStyle;
aI("text=Washington State Sex Offenders;url=http://ml.waspc.org/;target='blank';");
aI("text=County Website Links;url=http://www.waspc.org/
index.php?c=Washington%20Sex%20Offender%20Links;");
aI("text=National Sex Offenders;url=http://www.nsopr.gov/;target='blank';");
}
with(milonic=new menuname("Jails")){
style=menuStyle;
aI("text=Jails;url=http://www.waspc.org/index.php?c=Washington%20Jails;");
aI("text=Jail Booking Reporting System;url=http://www.waspc.org/index.php?c=Jail%20Booking%20Reporting%20System;");
aI("text=Jail Statistics;url=http://www.waspc.org/index.php?c=Jail%20Statistics;");
aI("text=Mental Health Summit;url=http://www.waspc.org/index.php?c=Mental%20Health%20Summit;");
aI("text=Reducing Health Care Costs;url=http://www.waspc.org/index.php?c=Reducing%20Health%20Care%20Costs;");
aI("text=Regional Jail Information;url=http://www.waspc.org/
index.php?c=Regional%20Jails;");
aI("text=Related Topics;url=http://www.waspc.org/index.php?c=Related%20Jail%20Topics;");
}
with(milonic=new menuname("Links")){
style=menuStyle;
aI("text=Police Departments;url=http://www.waspc.org/index.php?d=52;");
aI("text=Sheriffs Offices;url=http://www.waspc.org/index.php?d=51;");
aI("text=Counties;http://www.waspc.org/index.php?d=49;");
aI("text=Cities;url=http://www.waspc.org/index.php?d=50;");
aI("text=Items Of Interest;url=http://www.waspc.org/index.php?c=Items%20of%20Interest;");
aI("text=File Download Library;url=http://www.waspc.org/files.php?sort=dlcount;");
}
with(milonic=new menuname("Projects")){
style=menuStyle;
aI("text=DNA Stranger Rape;url=http://www.waspc.org/index.php?c=DNA%20Stranger%20Rape%20Project;");
aI("text=SAVIN;url=testlink.html;");
aI("text=LEMAP;url=http://www.waspc.org/index.php?c=LEMAP;");
aI("text=Law Enforcement Executive Forum;url=http://www.waspc.org/index.php?c=Law%20Enforcement%20Executive%20Forum;");
aI("text=Accreditation;url=http://www.waspc.org/index.php?c=Accreditation;");
aI("text=Contracting;url=http://www.waspc.org/index.php?c=Contracting;");
aI("text=False Alarm Reduction;url=http://www.waspc.org/index.php?c=Other%20Programs;");
}
drawMenus();
Code:
gindex.php code
<?php
include("lib/common.lib.php");
$pagetitle = "Washington Association of Sheriffs and Police Chiefs";
$topmenu = read_file("template/gtopmenu.html");
//$leftmenu = read_file("template/leftmenu.html");
if ($_GET['c'] != null)
{
$res = fetch_content('`name`', $_GET['c']);
$title = $res[0];
$content = $res[1];
// $submenu = $res[2];
$memberonly = $res[2];
if ($title=="")
{
$content = '<body style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<span style="color: rgb(6, 1, 0);"><big><big><big>Illegal
Content Request</big></big></big></span>
</body>';
$title = 'Try again';
//fetch_file('index', 538);
}
if ($memberonly == "yes")
{
authenticate($_COOKIE['waspc_uid']);
}
}
else if ($_GET['d'] != null)
{
$res = fetch_content('`id`', $_GET['d']);
$title = $res[0];
$content = $res[1];
// $submenu = $res[2];
$memberonly = $res[2];
if ($memberonly == "yes")
{
authenticate($_COOKIE['waspc_uid']);
}
if ($title=="")
{
$starttime = time();
while ((time() - $starttime) < 10)
{
}
$content = '<body style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<span style="color: rgb(6, 1, 0);"><big><big><big>Illegal
Content Request</big></big></big></span>
</body>';
$title = 'Try again';
}
}
else if ($_GET['f'] != null)
{
// nothing yet
}
else
{
$res = fetch_content('`id`', "21");
$title = $res[0];
$content = $res[1];
//$submenu = $res[2];
}
//if ($_COOKIE['waspc_uid'] != "")
//{
//$leftmenu .= use_template("template/member.html", array("#session_id#"), array(session_id()));
//}
//else
//{
// $leftmenu .= read_file("template/nonmember.html");
//}
echo use_template("template/gpage.html",
array("#pagetitle#", "#topmenu#", "#title#", "#content#"),
array($pagetitle, $topmenu, $title, $content)
);
?>
<?php
include("lib/common.lib.php");
$pagetitle = "Washington Association of Sheriffs and Police Chiefs";
$topmenu = read_file("template/gtopmenu.html");
//$leftmenu = read_file("template/leftmenu.html");
if ($_GET['c'] != null)
{
$res = fetch_content('`name`', $_GET['c']);
$title = $res[0];
$content = $res[1];
// $submenu = $res[2];
$memberonly = $res[2];
if ($title=="")
{
$content = '<body style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<span style="color: rgb(6, 1, 0);"><big><big><big>Illegal
Content Request</big></big></big></span>
</body>';
$title = 'Try again';
//fetch_file('index', 538);
}
if ($memberonly == "yes")
{
authenticate($_COOKIE['waspc_uid']);
}
}
else if ($_GET['d'] != null)
{
$res = fetch_content('`id`', $_GET['d']);
$title = $res[0];
$content = $res[1];
// $submenu = $res[2];
$memberonly = $res[2];
if ($memberonly == "yes")
{
authenticate($_COOKIE['waspc_uid']);
}
if ($title=="")
{
$starttime = time();
while ((time() - $starttime) < 10)
{
}
$content = '<body style="background-color: rgb(255, 0, 0); color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<span style="color: rgb(6, 1, 0);"><big><big><big>Illegal
Content Request</big></big></big></span>
</body>';
$title = 'Try again';
}
}
else if ($_GET['f'] != null)
{
// nothing yet
}
else
{
$res = fetch_content('`id`', "21");
$title = $res[0];
$content = $res[1];
//$submenu = $res[2];
}
//if ($_COOKIE['waspc_uid'] != "")
//{
//$leftmenu .= use_template("template/member.html", array("#session_id#"), array(session_id()));
//}
//else
//{
// $leftmenu .= read_file("template/nonmember.html");
//}
echo use_template("template/gpage.html",
array("#pagetitle#", "#topmenu#", "#title#", "#content#"),
array($pagetitle, $topmenu, $title, $content)
);
?>
and last gpage.html code
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>#pagetitle#</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
<script language="Javascript" type="text/javascript">
myPix = new Array("img_01.jpg", "img_02.jpg", "img_03.jpg", "img_04.jpg", "img_05.jpg", "img_06.jpg", "img_07.jpg", "img_08.jpg", "img_09.jpg", "img_10.jpg", "img_11.jpg", "img_12.jpg", "img_13.jpg", "img_14.jpg", "img_15.jpg", "img_18.jpg", "img_21.jpg", "img_24.jpg", "img_25.jpg", "img_28.jpg", "img_29.jpg", "img_30.jpg", "img_31.jpg", "img_32.jpg", "img_33.jpg", "img_34.jpg", "img_35.jpg", "img_36.jpg", "img_37.jpg", "img_38.jpg")
imgCt = myPix.length
function choosePic() {
if (document.images) {
randomNum = Math.floor((Math.random() * imgCt))
document.myPicture.src = "http://www.waspc.org/images/" + myPix[randomNum]
}
}
</script>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {
color: #000000;
font-weight: bold;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" onLoad="choosePic()" style="background-color: rgb(255, 255, 255);" marginheight="0" marginwidth="0">
<table border="0" align="center" cellpadding="0"
cellspacing="0" style="width: 760px; height: 100%;">
<tbody>
<tr>
<td height="35"><a href="index.php"><img src="images/WASPC_01a.gif" border="0"></a></td>
</tr>
<tr>
<td background="images/WASPC_01b.gif" height="30"><a href="http://www.waspc.org/index.php" class="style1"></a></td>
</tr>
<tr>
<td height="155" align="center"><img src="images/spacer.gif" name="myPicture" border="0" height="155" width="760"></td>
</tr>
<tr>
<td height="25">#topmenu#</td>
</tr>
<tr>
<td background="images/WASPC_04_REPEAT.gif" height="100%"
valign="top" width="4"><table cellpadding="10" cellspacing="0" width="860">
<tbody>
<tr>
<td class="title">#title#</td>
</tr>
<tr>
<td class="content" valign="top" width="860"> #content# </td>
</tr>
</tbody>
</table></td>
<td height="100%" valign="top" width="756"> </td>
</tr>
<tr>
<td class="copy"
style="background-repeat: no-repeat; padding-top: 5px; padding-right: 5px; padding-left: 5px;"
background="images/WASPC_07.gif" bgcolor="" height="60" valign="top"><div align="center">
<font size="-2"><span class="style2">The mission of the Washington Association
of Sheriffs and Police Chiefs (WASPC) is to offer support services,
which enhance public safety, to law enforcement executives in the State
of Washington.
WASPC © 2005 Washington Association of
Sheriffs and Police Chiefs</span> <br>
<br>
Website design by <a href="http://www.skysoftconsulting.com"><font
color="#cccccc">skysoftconsulting</font></a>, with modifications by Kevin McCoy <a href=http://www.milonic.com/>DHTML Menu By Milonic JavaScript</a></font></div></td>
</tr>
</tbody>
</table>
</body>
</html>
<html>
<head>
<title>#pagetitle#</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
<script language="Javascript" type="text/javascript">
myPix = new Array("img_01.jpg", "img_02.jpg", "img_03.jpg", "img_04.jpg", "img_05.jpg", "img_06.jpg", "img_07.jpg", "img_08.jpg", "img_09.jpg", "img_10.jpg", "img_11.jpg", "img_12.jpg", "img_13.jpg", "img_14.jpg", "img_15.jpg", "img_18.jpg", "img_21.jpg", "img_24.jpg", "img_25.jpg", "img_28.jpg", "img_29.jpg", "img_30.jpg", "img_31.jpg", "img_32.jpg", "img_33.jpg", "img_34.jpg", "img_35.jpg", "img_36.jpg", "img_37.jpg", "img_38.jpg")
imgCt = myPix.length
function choosePic() {
if (document.images) {
randomNum = Math.floor((Math.random() * imgCt))
document.myPicture.src = "http://www.waspc.org/images/" + myPix[randomNum]
}
}
</script>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
.style2 {
color: #000000;
font-weight: bold;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" onLoad="choosePic()" style="background-color: rgb(255, 255, 255);" marginheight="0" marginwidth="0">
<table border="0" align="center" cellpadding="0"
cellspacing="0" style="width: 760px; height: 100%;">
<tbody>
<tr>
<td height="35"><a href="index.php"><img src="images/WASPC_01a.gif" border="0"></a></td>
</tr>
<tr>
<td background="images/WASPC_01b.gif" height="30"><a href="http://www.waspc.org/index.php" class="style1"></a></td>
</tr>
<tr>
<td height="155" align="center"><img src="images/spacer.gif" name="myPicture" border="0" height="155" width="760"></td>
</tr>
<tr>
<td height="25">#topmenu#</td>
</tr>
<tr>
<td background="images/WASPC_04_REPEAT.gif" height="100%"
valign="top" width="4"><table cellpadding="10" cellspacing="0" width="860">
<tbody>
<tr>
<td class="title">#title#</td>
</tr>
<tr>
<td class="content" valign="top" width="860"> #content# </td>
</tr>
</tbody>
</table></td>
<td height="100%" valign="top" width="756"> </td>
</tr>
<tr>
<td class="copy"
style="background-repeat: no-repeat; padding-top: 5px; padding-right: 5px; padding-left: 5px;"
background="images/WASPC_07.gif" bgcolor="" height="60" valign="top"><div align="center">
<font size="-2"><span class="style2">The mission of the Washington Association
of Sheriffs and Police Chiefs (WASPC) is to offer support services,
which enhance public safety, to law enforcement executives in the State
of Washington.
WASPC © 2005 Washington Association of
Sheriffs and Police Chiefs</span> <br>
<br>
Website design by <a href="http://www.skysoftconsulting.com"><font
color="#cccccc">skysoftconsulting</font></a>, with modifications by Kevin McCoy <a href=http://www.milonic.com/>DHTML Menu By Milonic JavaScript</a></font></div></td>
</tr>
</tbody>
</table>
</body>
</html>
the link to this test page is:
http://www.waspc.org/gindex.php
I can see the test link when the page comes up so I know it should work but why is the menu
not showing.
My boss said we can go ahead and purchase the full version is I can get this test to work so we do not
have to link back. I really like your menu and I have to make several
other sub-menus but I am stuck right now.
Thanks for the help.
Poster: Ruth
Dated: Friday April 27 2007 - 6:54:09 BST
Hi,
The paths to the milonic files are incorrect
According to your page code the path to the milonic_src.js file is src="milonic_src.js" This translates to a full path of
Code:
http://www.waspc.org/milonic_src.js
However, if you put that into the address bar it doesn't give you the milonic_src.js file, it gives you page not found. That is the same result for all the menu files, so either they are not there, or you've put them into a folder but didn't put the folder into the path.
Ruth
Poster: John
Dated: Monday April 30 2007 - 22:43:33 BST
Are you using the latest version (5.772) of the menu? I ask because your calls look somewhat outdated. The current JS calls for the code are...
Code:
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="menu_data.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="menu_data.js"></script>