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

Problem with Milonic link reappear on licensed menu


Poster: johns
Dated: Tuesday August 2 2005 - 9:38:53 BST

Hi

Firstly, what a brilliant menu system. Thanks. I have most of it working really well and just need to tweak some images and so on. But I have got stuck and have searched this forum without finding a solution to my specific problem! Can anyone help with another reappearing Milonic link problem.

I have a main site: http://bluntishambaptist.org and one subdomain: http://marketplace.bluntishambaptist.org. The subdomain is essentially an asp based forum so is rendered more slowly.

The menu works perfectly on the main site on both asp and html pages. It also works with a test html page on the subdomain: http://marketplace.bluntishambaptist.org/test.html

But when viewing the asp pages on the subdomain, the Home link appears but is immediately replaced by the Milonic one.

I’ve done the things suggested in the forum, like put the html Milonic link before the javascript, put the javascript before the </body>, rename the js files to asp. But these haven’t been the solution. I have tried placing the js files in the subdomain but that makes no difference and in fact renders more slowly!

The only thing which has worked has been the make a second set of the js files and change the address in code of milonic_scr to the subdomain. Yes, I realize I’m not supposed to do this but it was just a test. Whilst it solved the problem, the menu failed to work properly as mouseover and submenus stopped working!

My guess is that it is a combination of the use of a subdomain and the speed of the rendering of the asp code. But any clues what I might try next? Thanks.

Code:

_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;

with(vertStyle=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="verdana, arial, tahoma";
fontsize="85%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="http://bluntishambaptist.org/menu/18_blank.gif";
imagepadding=3;
menubgimage="http://bluntishambaptist.org/menu/backoff_bbcblue.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="http://bluntishambaptist.org/menu/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#D6DEE7";
pagecolor="#000066";
pageimage="http://bluntishambaptist.org/menu/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="80%";
subimage="http://bluntishambaptist.org/menu/black_13x13_greyboxed.gif";
menubgcolor="#F5F5F5";
}

with(vertSub=new mm_style()){
styleid=1;
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="verdana, arial, tahoma";
fontsize="85%";
fontstyle="normal";
headerbgcolor="#AFD1B5";
headerborder=1;
headercolor="#000099";
image="http://bluntishambaptist.org/menu/18_blank.gif";
imagepadding=3;
menubgimage="http://bluntishambaptist.org/menu/backoff_bbcblue_sub.gif";
offbgcolor="transparent";
offcolor="#000000";
onbgcolor="#FEFAD2";
onborder="1px solid #999999";
oncolor="#000000";
onsubimage="http://bluntishambaptist.org/menu/on_13x13_greyboxed.gif";
outfilter="randomdissolve(duration=0.2)";
overfilter="Fade(duration=0.1);Alpha(opacity=95);Shadow(color=#777777', Direction=135, Strength=3)";
padding=3;
pagebgcolor="#D6DEE7";
pagecolor="#000066";
pageimage="http://bluntishambaptist.org/menu/db_red.gif";
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="80%";
subimage="http://bluntishambaptist.org/menu/black_13x13_greyboxed.gif";
menubgcolor="#F5F5F5";
}



with(milonic=new menuname("Forums")){
margin=3;
style=vertSub;
top="offset=2";
aI("text=All forums;url=http://marketplace.bluntishambaptist.org/category-view.asp;");
}

drawMenus();


Poster: Ruth
Dated: Tuesday August 2 2005 - 14:15:18 BST

Hi,

Try using DHTML Menu Courtesy of Milonic.com. Or maybe you just have to put a .com with the text link you have [I didn't think to test that :oops: ]

Not sure why, but that seems to fix it. Don't forget to remove the extra home in the menu. Also, I think you should contact Milonic about the subdomain, making them aware of that. That might have something to do with it.

Ruth


Poster: John
Dated: Tuesday August 2 2005 - 15:14:56 BST

Wow - slow is definitely an understatement!

Try this for your calls...
Code:
<SCRIPT language=JavaScript src="http://bluntishambaptist.org/menu/milonic_src.js" type=text/javascript></SCRIPT>
<div class=milonic><a href="http://www.milonic.com/">JavaScript Menu, DHTML Menu Powered By Milonic</a></div>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=http://bluntishambaptist.org/menu/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=http://bluntishambaptist.org/menu/mmenudom.js><\/scr"+"ipt>"); </script>
<SCRIPT language=JavaScript src="http://bluntishambaptist.org/menu/market_data.js" type=text/javascript></SCRIPT>

Note the added div after the first line.

The use of the menu on a subdomain should be OK, and should not cause this problem. However, as Ruth suggested, check with Milonic just to be sure.


Poster: johns
Dated: Tuesday August 2 2005 - 16:42:59 BST

Thanks, John and Ruth, I'm most grateful.

Ruth, your solution worked first time. Using the code:

Code:
<a href=""http://www.milonic.com/"">DHTML Menu Courtesy of Milonic.com</a>


As is usually the case a very simple solution after a very long time trying to solve it.

BTW, the site's not usually that slow - it ground to a halt this afternoon as the hosting company's servers lost conductivity - even for their own websites! It's back to normal now!!