Strona:
CODE
http://www.magwit.vacau.com/
Kod Index'u:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!--NodeFire API Script Reference--> <!--Pure CSS Core (menu widget)--> <!--[if lte IE 6]><style type="text/css">.nfPure .nfItem{width:0px;}</style><![endif]--> <!--[if lte IE 7]><style type="text/css">.nfMain,.nfMain .nfLink,.nfMain .nfSubS{zoom:1;}.nfPure .nfLink:hover{z-index:1101;}.nfPure .nfItem{display:inline !important;}</style><![endif]--> <link rel="stylesheet" href="css/menu_core.css" type="text/css"> <!--Custom Layout (Flush Left Subs)--> <link rel="stylesheet" href="css/skins/menu_megaSubs1.css" type="text/css"> <style type="text/css"> .nfMain .nfItem {position:static;} .nfMain .nfSubC {left:0px;} </style> <!--Style Skin (menu widget)--> <link rel="stylesheet" href="css/skins/menu_megaSubs1.css" type="text/css"> <!--Custom Styles--> <style type="text/css"> /*~~~~~~~~~~~~~~ Custom Menu Classes ~~~~~~~~~~~~~~~~*/ .megaContainer {padding:30px;height:340px;color:#666;} .megaContainerInner1 {height:332px;border:dashed 4px #999;vertical-align:middle} .megaContainerInner2 {position:relative;top:150px;} .megaButton {opacity:.5;} .blockOut_left {position:absolute;width:130px;height:13px;background:#a7b9c6;border:solid 1px #373f45;border-width:0px 0px 0px 1px;z-index:1;} .blockOut_middle {position:absolute;width:131px;height:10px;background:#a7b9c6;z-index:1;} </style> <!--[if IE]><style type="text/css">.megaButton {filter:alpha(opacity=50);}</style><![endif]--> <!--Custom Menu Container--> <div style='background-images: url:(images\gallery\menu\megaSubs1\tloin.jpg);width:900px;height:600px;padding:50px;border:solid 1px #495966;margin:auto;'> <!--Menu Structure Example--> <ul id="myMenu" class="nfMain nfPure"> <li class="nfItem"> <div class="nfLink"> </div> <div class='megaContainer'> </div> </li> <li class="nfItem"> <div class="nfLink"> </div> <div class='megaContainer'> Sample Mega Item Content Area 2<br/>(Work Flow Pattern Analysis) </div> </li> <li class="nfItem"> <div class="nfLink"> </div> <div class='megaContainer'> Sample Mega Item Content Area 3<br/>(Branch Locations) </div> </li> <li class="nfItem"> <div class="nfLink"> </div> <div class='megaContainer'> Sample Mega Item Content Area 4<br/>(Meet With Our Team) </div> </li> <li class="nfItem"> </ul> </div> <!--Create a new menu object and activate it (place this script after the structure or attach to an onload type event)--> <script type="text/javascript"> // Create the menu object - Set triggers which make the items sticky var myMenu = new NF.widget.menu("myMenu", {showTimerMS:150,hideTimerMS:150, menuTrigger:'none', documentTrigger:'none'}); //Show Button Animation var clip = new NF.anim.clip({opacity:{start:.5,end:1}},{frames:20,hook:"NFplayOnLinkActiveShow",targetClass:"megaButton"}); var myReplicator = new NF.replicator("transition",{master:clip,widgetClass:"nfItem",targetClass:"nfLink",widgetLevel:0}); myMenu.addReplicator(myReplicator); //Hide Button Animation var clip = new NF.anim.clip({opacity:{start:1,end:.5}},{frames:20,hook:"NFplayOnLinkActiveHide",targetClass:"megaButton"}); myReplicator = new NF.replicator("transition",{master:clip,widgetClass:"nfItem",targetClass:"nfLink",widgetLevel:0}); myMenu.addReplicator(myReplicator); //Activate the menu myMenu.activate(); //Show an initial active path NF.widget.menuManager.setActivePath($('startActive')); </script>
a tu kawałek kodu z kolorem który na dodatek działa:
<div style='background-color:#758591;width:900px;height:600px;padding:50px;border:solid 1px #495966;margin:auto;'>