Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<title>
Menu Test
</title>
</head>
<body leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" topmargin="0">
<div align="center">
<script language=JavaScript src="/js/milonic_src.js" type=text/javascript></script>
<script language=JavaScript src="/js/mmenudom.js" type=text/javascript></script>
<script language="JavaScript" type="text/javascript">
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=5 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
var showText = true;
var showTB = true;
with(menuStyle=new mm_style())
{
onbgcolor="lightgrey";
oncolor="black";
offbgcolor="lightgrey";
offcolor="black";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/images/T_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(menuStyle2=new mm_style())
{
onbgcolor="lightgrey";
oncolor="black";
offbgcolor="lightgrey";
offcolor="black";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="lightgrey";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/images/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("Issues"))
{
style=menuStyle;
top=0;
left=0;
alwaysvisible=1;
orientation="horizontal";
followscroll="1";
if(showText)
{
itemwidth="100%";
aI("image=/images/ns-icon1.jpg;text=NewsStand;url=http://mckeewwwn;status=NewsStand;");
aI("image=/images/pref1.jpg;text=Preferences;showmenu=Prefs;status=Preferences;");
aI("image=/images/help1.jpg;text=Help;url=http://support.newsstand.com;target=_blank;status=Help;");
}
else
{
aI("image=/images/ns-icon1.jpg;url=http://mckeewwwn;status=NewsStand;");
aI("image=/images/pref1.jpg;showmenu=Prefs;status=Preferences;");
aI("image=/images/help1.jpg;url=http://support.newsstand.com;target=_blank;status=Help;");
}
}
with(milonic=new menuname("Prefs"))
{
style=menuStyle2;
aI("text=Edit Reader Settings;showmenu=settings;status=Reader Settings;separatorcolor=#2D729D");
aI("text=Account Information;url=/index.cfm?fuseaction=contactinfo;");
aI("text=Transaction History;url=/index.cfm?fuseaction=AccountSetting;separatorcolor=#2D729D");
if(showText)
aI("image=/images/check.jpg;text=Show Icons and Text;url=javascript:changeTextDisp();separatorcolor=#2D729D");
else
aI("text=Show Icons and Text;url=javascript:changeTextDisp();separatorcolor=#2D729D");
aI("text=Help;url=http://support.newsstand.com;target=_blank;status=Help;");
aI("text=Disable Toolbar;url=javascript:disable();");
}
with(milonic=new menuname("settings"))
{
style=menuStyle;
aI("text=Profile...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_PROFILE', '');");
aI("text=Download...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_DOWNLOAD', '');");
aI("text=Viewer...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_VIEWER', '');");
aI("text=Media...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_MEDIA', '');");
aI("text=General...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_GENERAL', '');");
aI("text=Server...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_SERVER', '');");
aI("text=eDM Server...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_EDMSERVER', '');");
aI("text=Message Manager...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_ME', '');");
aI("text=Advanced...;url=javascript:doReaderWebCommand('ID_MAIN_SETTINGS_ADVANCED', '');");
}
drawMenus();
</script>
</div>
</body>
</html>
</body>
</html>