ordernumber="";//Once you have licensed FX Menu, the order number will be sent to you by share-it!.
emptyimage="image/transparent.gif";// Transparent image in gif format.
showdelay=200;//Time delay before submenus are displayed. Unit is milliseconds.
hidedelay=800;//Time delay before submenus are hidden. Unit is milliseconds.
/*Start Style Declarations*/
with(itemStyle=new fxstyle()){
width=140;
height=24;
fontsize="8pt";
color="#487BB7";
coloron="#FFFFFF";
bgcolor="#D2DEFF";
bgcoloron="#487BB7";
fontfamily="Verdana,Arial";
fontweight="bold";
borderwidth=1;
bordercolor="#D2DEFF"
bordercoloron="#FFFFFF"
borderstyle="solid";
paddingtop=4;
paddingleft=3;
arrow="image/nav/arrowblack11.gif";
arrowon="image/nav/arrowwhite11.gif";
arrowright=20;
arrowtop=4;
}
with(menuStyle=new fxmenustyle()){
filterover="Alpha(opacity=90)";
menubgcolor="#487BB7";
menuborderwidth=1;
menubordercolor="#487BB7";
highlightpath=true;
wiseposition=true;
}
/*Start Menu Declarations*/
with(new fxmenu("Main Menu")){
style=itemStyle;
menustyle=menuStyle;
visible=true;
position="absolute"
top=150;
left=59;
width=183;
orientation="vertical"
fx("text=XP Style;url=index.html;left=7;height=32;paddingtop=12;paddingleft=43;type=header;color=#FFFFFF;bgimage=image/xpheader.gif;borderwidth=0;");
fx("text=Home;left=7;icon=image/home.gif;url=index.html;");
fx("text=Menu FAQ;left=7;icon=image/icon_faq.gif;url=html/faq.html;");
fx("text=Menu Samples;left=7;show=MenuSamples;icon=image/samples_ic01.gif;iconon=image/samples_ic01on.gif");
fx("text=Discussion Forum;left=7;icon=image/forum_ic01.gif;url=forums/index.php;target=blank;");
}
with(new fxmenu("MenuSamples")){
style=itemStyle;
menustyle=menuStyle;
width=270;
overflow="scroll";
fx("text=Text Based Menu Samples;type=header;bgcolor=#E8E8FF;borderwidth=1;bordercolor=#6699CC;");
fx("text=Horizontal Menu;url=menu/samples/horizontal.html;");
fx("text=Vertical Menu;url=menu/samples/vertical.html;");
fx("text=Windows 98;url=menu/samples/windows98.html;");
fx("text=Windows XP;url=menu/samples/windowsxp.html;");
fx("text=Multiple Style;url=menu/samples/multiplestyle.html;");
fx("text=Multiple Colored Menus;url=menu/samples/multiplecolors.html;");
fx("text=Image Based Menu Samples;type=header;bgcolor=#E8E8FF;borderwidth=1;bordercolor=#6699CC;");
fx("text=Image Based Menu;url=menu/samples/imagebased.html;");
fx("text=Image Map Based Menu;url=menu/samples/imagemap.html;");
fx("text=Background - Images (LOTR);url=menu/samples/background.html;");
fx("text=Positioning Samples;type=header;bgcolor=#E8E8FF;borderwidth=1;bordercolor=#6699CC;");
fx("text=Absolute Positioning;url=menu/samples/absolute.html;");
fx("text=Relative Positioning (to a table cell);color=#FF0000;url=menu/samples/relative.html;");
fx("text=Pop Up with Absolute Positioning;url=menu/samples/popupabsolute.html;");
fx("text=Pop Up with Relative Positioning;url=menu/samples/popuprelative.html;");
fx("text=Pop Up with Tooltip Positioning;url=menu/samples/popuptooltip.html;");
fx("text=Absolute Positioned Submenus;url=menu/samples/submenuabsolute.html;");
fx("text=Tooltip Positioned Submenus;url=menu/samples/submenutooltip.html;");
fx("text=Functionality Samples;type=header;bgcolor=#E8E8FF;borderwidth=1;bordercolor=#6699CC;");
fx("text=JavaScript Functions;url=menu/samples/javascript.html;");
fx("text=Opening windows & targeting (i)frames;url=menu/samples/targetframe.html;target=blank;");
fx("text=Flickthrough Menu;url=menu/samples/flickthrough.html;");
fx("text=Show/Hide Submenus Onclick;url=menu/samples/showhideclick.html;");
fx("text=Item Sizing;url=menu/samples/itemsizing.html;");
fx("text=Item Positioning;url=menu/samples/itemposition.html;");
fx("text=Scrolling (overflow);url=menu/samples/overflow.html;");
fx("text=Tables (columns);url=menu/samples/tablemenu.html;");
fx("text=API Functions & Methods;url=menu/samples/api.html;");
fx("text=Displaying Multiple Submenus;url=menu/samples/multiplesubs.html;");
}
buildMenus();
|