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: Select all
_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();