Hi Ruth,
I've taken out the "pointer" reference so now my code looks like:
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=home;url=http://www.m-pact.com/;status=m-pact home page;");
aI("text=news;url=http://www.m-pact.com/;status=m-pact home page;");
aI("text=tour;url=http://www.m-pact.com/;status=m-pact home page;");
aI("text=forum;url=http://www.m-pact.com/;status=m-pact home page;");
aI("text=join;url=http://www.m-pact.com/;status=m-pact home page;");
aI("text=media;showmenu=media;");
aI("text=journals;showmenu=journals;");
aI("text=store;showmenu=store;");
aI("text=bios;showmenu=bios;");
aI("text=educators;showmenu=educators;");
aI("text=about;showmenu=about;");
}
drawMenus();
There is still a problem with the pointer however. When I rollover a menu item that has no URL but does have a sub menu the cursor is wildly unpredictable. Most of the time it will change to an I-bar then the browser will load something else and it will then change to a hand.
I want menu items that have no URL but do have sub menus to show an arrow pointer only when rolled over. I also want no delay in showing the arrow. It should be immediate.
I'm using ie5, win2k to view the page.
Have you run into this? Here is my data.js code also in case I'm doing something wrong in it.
Code: Select all
_menuCloseDelay=250 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=100 // The time delay before menus open on mouse over
_subOffsetTop=40 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_mySubOffsetTop=3 // because we're using a "table bound" nav this custom offset is used
with(menuStyle=new mm_style()){
oncolor="#DFBA56";
offcolor="#FFFFFF";
padding=9;
fontsize=".9em";
fontweight="bold"
pagecolor="#DFBA56";
pagebgcolor="#4C4C4C";
}
with(submenuStyle=new mm_style()){
onbgcolor="#303030";
offbgcolor="#000000";
oncolor="#DFBA56";
offcolor="#FFFFFF";
bordercolor="#9E9E9E";
borderstyle="solid";
borderwidth=1;
separatorcolor="#9E9E9E";
separatorsize="1";
padding=6;
fontsize=".9em";
fontweight="bold"
pagecolor="#DFBA56";
pagebgcolor="#4C4C4C";
overfilter="Alpha(opacity=90);Shadow(color='#000000', Direction=135, Strength=5)";
outfilter="Fade(duration=0.3)";
}
with(footermenuStyle=new mm_style()){
oncolor="#DFBA56";
offcolor="#FFFFFF";
padding=9;
fontsize=".9em";
fontweight="bold"
pagecolor="#DFBA56";
pagebgcolor="#4C4C4C";
}
with(milonic=new menuname("media")){
style=submenuStyle;
top="offset="+_mySubOffsetTop;
aI("text=music;url=/media/music/;status=m-pact music downlods and samples;");
aI("text=photos;url=/media/photos/;status=m-pact photos from the road, live, candid and promo;");
aI("text=video;url=/media/video/;status=m-pact video streams and downloads;");
aI("text=wallpaper;url=/media/wallpaper/;status=m-pact photos you can download and use for your computer's background;");
}
with(milonic=new menuname("journals")){
style=submenuStyle;
top="offset="+_mySubOffsetTop;
aI("text=marco cassone;url=/marco/;status=;");
aI("text=trist ethan curless;url=/trist/;status=;");
aI("text=britt quentin;url=/britt/;status=;");
aI("text=rudy cardenas;url=/rudy/;status=;");
aI("text=jeff smith;url=/jeff/;status=;");
aI("text=brian atkinson;url=/brian/;status=;");
}
with(milonic=new menuname("store")){
style=submenuStyle;
top="offset="+_mySubOffsetTop;
aI("text=CDs;url=/store/cds/;status=;");
aI("text=clothes;url=/store/clothes/;status=;");
aI("text=sheet music;url=/store/sheetmusic/;status=;");
aI("text=photos;url=/store/photos/;status=;");
}
with(milonic=new menuname("bios")){
style=submenuStyle;
top="offset="+_mySubOffsetTop;
aI("text=band bio;url=/bio/;status=;");
aI("text=marco cassone;url=/marco/bio/;status=;");
aI("text=trist ethan curless;url=/trist/bio/;status=;");
aI("text=britt quentin;url=/britt/bio/;status=;");
aI("text=rudy cardenas;url=/rudy/bio/;status=;");
aI("text=jeff smith;url=/jeff/bio/;status=;");
aI("text=brian atkinson;url=/brian/bio/;status=;");
}
with(milonic=new menuname("educators")){
style=submenuStyle;
top="offset="+_mySubOffsetTop;
aI("text=where we've taught;url=/educators/where/;status=;");
aI("text=letters & reviews ;url=/educators/letters/;status=;");
aI("text=clinics;url=/educators/clinics/;status=;");
aI("text=videos;url=/educators/videos/;status=;");
aI("text=sheet music;url=/store/sheetmusic/;status=;");
aI("text=video;url=/media/video/;status=m-pact video streams and downloads;");
aI("text=credentials;url=/educators/cred/;status=;");
}
with(milonic=new menuname("about")){
style=submenuStyle;
top="offset="+_mySubOffsetTop;
aI("text=contact us;url=/contact/;status=;");
aI("text=booking;url=/booking/;status=;");
aI("text=press;url=/press/;status=;");
aI("text=hospitality riders;url=/rides/;status=;");
aI("text=stage plot;url=/stage/;status=;");
aI("text=awards;url=/awards/;status=;");
aI("text=discography;url=/discography/;status=;");
}
drawMenus();
Thanks. I hope I can resolve this. Like I said, when I hit other sites that use milonic on this same machine and browser I do not get this weird sporadic cursor problem, I only get a solid showing arrow pointer.
- Kevin