menu items not displaying
Steve <[email protected]> Wed, 6 Aug 2003 10:26:42 +1000
| Newsgroups | gmane.comp.web.milonic |
|---|---|
| Message-ID | <a05210628bb55f8f0e1fc@[192.168.1.176]> |
As V3 is about to go the way of the dinosaur and I am just a newbie
with the menu system I thought I would start with V5 early (I managed
to figure out V3 really quickly but it is missing one feature that I
need and V5 has it).
The problem with V5 is that the documentation is so sparse it is hard
to fathom what each parameter does and what values it can take.
My problem is that if I set the URL for a menu item to the page I am
currently viewing, then the menu item disappears. For example, if I
am viewing the default.html page and the url for one of the menu
items is default.html then that particular menu item disappears (It
is still there but the font color appears to be the same as the
background for this one menu item).
Now, this looks as though it might be a feature of some sort but how
does one turn it off.
Any help would be appreciated.
BTW. Using V5_RC4.
Best Regards
Steve
Testing code follows...
_scrollAmount=3;
_scrollDelay=20;
_menuCloseDelay=50;
_menuOpenDelay=0;
_followSpeed=10;
_followRate=40;
_subOffsetTop=7;
_subOffsetLeft=-1;
with(style1=new mm_style()){
onbgcolor = "#000000";
oncolor = "#cc3300";
offbgcolor = "#000000";
offcolor = "#ffff00";
bordercolor = "white";
borderstyle = "solid";
separatorcolor = "#000000";
separatorsize = 20;
padding = 4;
fontsize = "10px";
fontstyle = "normal";
fontweight = "bold";
fontfamily = "Verdana, Tahoma, Arial, Helvetica, sans-serif";
high3dcolor = null;
low3dcolor = null;
pagecolor = "black";
pagebgcolor = "black";
align = "center";
}
with(milonic=new menuname("mainmenu")){_c=1
top = 0;
left = 8;
itemwidth=155;
borderwidth = 1;
screenposition = "middle";
alignment="center";
align="center";
style = style1;
alwaysvisible = 1;
followscroll = "235,10,3";
orientation="vertical";
keepalive = 1;
position="relative";
aI("text=Home;url=default.html");
aI("text=The Photographers;photographers.html;");
aI("text=Search;url=search.html");
aI("text=Topside Gallery;topside.html");
aI("text=Underwater Gallery;underwater.html");
aI("text=Articles;url=articles.html");
aI("text=Our Hotspots;url=hotspots.html");
aI("text=Purchasing Information;url=purchase.html");
aI("text=Contact Information;url=contact.html");
}