function changeBgColorOfPage(Hex){
if(OP5)return;
else if(!NN4)document.body.style.backgroundColor=Hex
else document.bgColor=Hex
}
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=20;
color="#000000";
coloron="#FFFFFF";
bgcolor="#E8E8FF";
bgcoloron="#6699CC";
fontsize="8pt";
fontfamily="Verdana,Arial";
paddingtop=1;
paddingleft=3;
arrow="image/nav/arrowblack11.gif";
arrowon="image/nav/arrowwhite11.gif";
arrowright=20;
arrowtop=1;
}
with(menuStyle=new fxmenustyle()){
filterover="Alpha(opacity=90)";
menubgcolor="#E8E8FF";
menuborderwidth=1;
menubordercolor="#3366CC";
separatorsize=1;
separatorcolor="#3366CC";
highlightpath=true;
wiseposition=true;
}
/*Start Menu Declarations*/
with(new fxmenu("fxsinus")){
style=itemStyle;
menustyle=menuStyle;
visible=true;
position="absolute";
top=160;
left=59;
orientation="horizontal"
fx("text=Home;url=index.html;width=66;");
fx("text=JavaScript Functions;show=Functions;width=150;");
}
with(new fxmenu("Functions")){
style=itemStyle;
menustyle=menuStyle;
width=350;
fx("text=Alert();url=javascript:alert('Newton, Einstein, Galileo, Heissenberg and Schrödinger\\nwill meet Hawking in Pisa to drop quarks from the leaning tower. (According to science for jerks)');");
fx("text=Confirm();url=javascript:confirm('Can Flash Gordon save the universe?')");
fx("text=Turn the page black (functionover is used);functionover=changeBgColorOfPage('#000000');");
fx("text=Turn the page white (functionover is used);functionover=changeBgColorOfPage('#FFFFFF');");
fx("text=Click to make the page turn red (functiondown is used);functiondown=changeBgColorOfPage('#993300');");
fx("text=Turn this page green (functionout is used);functionout=changeBgColorOfPage('#009900');");
}
buildMenus();
|