FXsinus.com HOME
The DHTML Menu - reloaded

JavaScript Functions DHTML Menu Sample

Description for this menu sample not yet available.

Please view the source code at the bottom of this page.
Discussion Forum
Download FX Menu
   »    License & Purchase
DHTML Menu Samples ::
 »  DHTML Menu Samples Overview
 »  Horizontal DHTML Menu Sample
 »  Vertical DHTML Menu Sample
 »  Windows 98 Style
 »  Windows XP Style
 »  Microsoft.com
 »  Multiple Styles
 »  Multiple Colored Menus
 »  Image Based Menu
 »  Image Map Based Menus
 »  Background Images (LOTR)
 »  Absolute Positioning
 »  Relative Positioning (to a table cell)
 »  Pop Up with Relative Positioning
 »  Pop Up with Absolute Positioning
 »  Pop Up with Tooltip Positioning
 »  Absolute Positioned Submenus
 »  Tooltip Positioned Submenus
 »  JavaScript Functions
 »  Opening Windows & Targeting (i)frames
 »  Flickthrough Menu
 »  Show/Hide Submenus OnClick
 »  Item Sizing
 »  Item Positioning
 »  Scrolling (overflow)
 »  Tables (columns)
 »  API - Methods & Functions
 »  Displaying Multiple Submenus

Menu Settings for this Sample Menu in input.js

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();
Home | Forum | Link to us
FXsinus.com - Austria.
Vor der Bruck 15,
A-2770 Goodstone
 © Copyright 2001-2004 FXsinus.com, All Rights Reserved. webmaster@fxsinus.com