Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:19

Script not working on windows


Poster: diabolomack
Dated: Wednesday July 14 2004 - 15:16:07 BST

I just redid my web page using Milonic meues 5_23 and it looks great on my mac with netscape,explorer and safari but Now I find that anyone using a pc with windows isnt able to use the menu and they get Milonic in the meue for home. What do I need to do- I really like the look of the menu. :(


Poster: Maz
Dated: Wednesday July 14 2004 - 16:18:17 BST

Hi,

You might want to change the oncolor, you have blue on blue.

I think your menu script paths should be this:


/prendietrack/menu_data.js

maz


Poster: diabolomack
Dated: Wednesday July 14 2004 - 16:35:30 BST

Maz- I dont think I have blue on blue
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset




with(menuStyle=new mm_style()){
onbgcolor="#3433bd";
oncolor="# faef91";
offbgcolor="#faef91";
offcolor="#3433bd";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize=12;
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
left=10;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://geocities.com/prendietrack;status=Back To Home Page;");
aI("text=Cross Country;showmenu=Cross Country;");
aI("text=Indoor Track;showmenu=Indoor Track;");
aI("text=Spring Track;showmenu=Spring Track;");
aI("text=Links;url=http://www.geocities.com/prendietrack/links.html;");
aI("text=Records;showmenu=records;");
aI("text=Contact;showmenu=contact;");
}

with(milonic=new menuname("Cross Country")){
style=menuStyle;
aI("text=2003;showmenu=2003;");
aI("text=2004;showmenu=2004;");
}
with(milonic=new menuname("2003")){
style=menuStyle;

and do you mean the javaScript scr= should be /prendietrack/menu_data.js ???
And thanks for the quick reply


Poster: Ruth
Dated: Wednesday July 14 2004 - 16:46:14 BST

Your menu_data.js file had two numbers with quotes, I have no idea if that has something to do with it but remove the quotes from the separatorsize="1" and the subimagepadding="2", also you have no link back to milonic which is necessary. Read the LICENSE policy for free menus.

Ruth


Poster: diabolomack
Dated: Wednesday July 14 2004 - 17:18:26 BST

no change leaving out the quotes plus original download has them. I do have the milovic disclaimer on each page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

<title>Untitled</title>
<!--
Milonic DHTML Website Navigation Menu Version 5.0
Copyright 2004 (c) Milonic Solutions Limited (UK). All Rights Reserved.
Please visit http://www.milonic.com/ for more information.

Although this software may have been freely downloaded, you must obtain a license before using it in any production environment.
The free use of this menu is only available for Non-Profit, Educational & Personal Web Sites who have obtained a license to use.

Free, Commercial and Corporate Licenses are available from our website.
You also need to include a link back to http://www.milonic.com/ if you use the free license.

All Copyright notices MUST remain in place at ALL times.
This includes the first three lines of this notice on every page that uses the menu.
If you cannot comply with all of the above requirements, please contact us to arrange a license waiver.
-->

<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="/prendietrack/menu_data.js" type=text/javascript></SCRIPT>

<br><br><br>
</head>

<body bgcolor="e04db2">

I'm getting frustrated - can you get the menu when you go to the web page (on a PC or a Mac ?


Poster: Ruth
Dated: Wednesday July 14 2004 - 18:17:58 BST

The 'disclaimer' which has to be there also is not a link back as the license agreement for a free license requires. You need to have an actual link back to http://www.milonic.com/ written just like that with the closing /. Yes, I get to the menu. Try this DATA_FILE and see if it works.

Ruth


Poster: John
Dated: Wednesday July 14 2004 - 21:48:36 BST

I can move around with the menu as well.

You have http://www.milonic.com/ on your page, but not as a link, as Ruth noted. It won't work the way it is.


Poster: diabolomack
Dated: Friday July 16 2004 - 14:10:01 BST

Thanks for all your help- the script is working now - not sure what it was that actually worked--putting Prendietrack in the menu_data scource is probably what worked. Still like to know why everything loked so nice on a Mac even ewith all the boo boos? A Second Q is why with geocites, do I have to log out and back in again to see the results of any changes I make in the milonic files?
Mike