Template:Team:Bonn:PageMenu

From 2013.igem.org

(Difference between revisions)
(Blanked the page)
 
(186 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
 
-
<script type="text/javascript">
 
-
$(function(){
 
-
    $(".igemMenu").buildMenu({
 
-
          additionalData:"",
 
-
          menuSelector:".menuContainer",
 
-
          menuWidth:150,
 
-
          openOnRight:false,
 
-
          containment:"window",
 
-
          iconPath:"ico/",
 
-
          hasImages:true,
 
-
          fadeInTime:600,
 
-
          fadeOutTime:400,
 
-
          menuTop:0,
 
-
          menuLeft:0,
 
-
          submenuTop:0,
 
-
          submenuLeft:8,
 
-
          opacity:1,
 
-
          shadow:false,
 
-
          shadowColor:"black",
 
-
          shadowOpacity:.2,
 
-
          openOnClick:false,
 
-
          closeOnMouseOut:true,
 
-
          closeAfter:500,
 
-
          minZindex:"auto",
 
-
          hoverIntent:0,
 
-
          submenuHoverIntent:0,
 
-
      });
 
-
  });
 
-
</script>
 
-
<style>
 
-
table, tr, td {background:transparent; border:0px;}
 
-
table table table {background:transparent;}
 
-
table table table td {background-color:transparent;}
 
-
 
-
.mbmenu{
 
-
  display:none;
 
-
}
 
-
.rootVoices{
 
-
  padding-bottom:0;
 
-
  background: transparent;
 
-
  border-spacing: 42px 0;
 
-
}
 
-
 
-
.rootVoices td.rootVoice {
 
-
  width:120px;
 
-
  font-family:Arial,Helvetica,sans-serif;
 
-
  text-shadow:#fff 1px 1px 1px; 
 
-
  color: gray;
 
-
  font-size:14px;
 
-
  line-height:18px;
 
-
  text-align: center;
 
-
  vertical-align: middle;
 
-
  padding:8px;
 
-
  cursor: pointer;
 
-
  box-shadow: 0px 0px 10px #6EA2DE;
 
-
  background: black url("https://static.igem.org/mediawiki/2013/8/8d/Bonn_igem_menu_notsel.jpg");
 
-
 
-
  margin: 10px;
 
-
  -moz-border-radius : 12px; /* Firefox */
 
-
  -webkit-border-radius : 12px; /* Safari & Chrome */
 
-
  -khtml-border-radius : 12px; /* Linux browsers */
 
-
  border-radius : 12px; /* CSS3 compatible browsers */
 
-
  border-style: solid;
 
-
}
 
-
 
-
.rootVoices td.rootVoice.selected{
 
-
  background: black url("https://static.igem.org/mediawiki/2013/a/a6/Bonn_igem_menu_sel.jpg");
 
-
  padding:8px;
 
-
  color:#ffffff;
 
-
  cursor: pointer;
 
-
  font-size:14px;
 
-
  box-shadow: 0px 0px 14px #DF0101;
 
-
  text-shadow:#660033 1px 1px 1px;
 
-
  /*
 
-
    -moz-box-shadow:#999 2px 2px 10px;
 
-
    -webkit-box-shadow:#999 2px 2px 10px;
 
-
  */
 
-
}
 
-
.rootVoices td.rootVoice.disabled.selected{
 
-
  background:#999!important;
 
-
  color:#666;
 
-
  text-shadow:#ddd 1px 1px 1px;
 
-
}
 
-
 
-
/**/
 
-
 
-
.menuContainer{
 
-
  position:absolute;
 
-
  background-color:#193234;
 
-
  border-top:5px solid black;
 
-
  padding:0;
 
-
  -moz-box-shadow:#999 2px 2px 10px;
 
-
  -webkit-box-shadow:#999 2px 2px 10px;
 
-
  box-shadow:#999 2px 2px 10px;
 
-
 
-
  -moz-border-radius : 8px;
 
-
  -webkit-border-radius : 8px;
 
-
  -khtml-border-radius : 8px;
 
-
  border-radius : 8px;
 
-
  border-style: solid;
 
-
}
 
-
.menuContainer.submenuContainer{
 
-
  border-top:none!important;
 
-
}
 
-
 
-
.menuContainer.disabled{
 
-
  border-top:5px solid #999;
 
-
  background-color:gray;
 
-
}
 
-
.menuContainer .line{
 
-
  background-color:transparent;
 
-
  width:100%;
 
-
}
 
-
.menuContainer .line.title {
 
-
  background-color:black;
 
-
  font-family:Arial,Helvetica,sans-serif;
 
-
  font-size:14px;
 
-
/*border-bottom:1px solid black;*/
 
-
}
 
-
.menuContainer.disabled .line.title {
 
-
  background-color:#999;
 
-
}
 
-
.menuContainer .line.title a{
 
-
  font-size:14px;
 
-
  color:#ccc;
 
-
}
 
-
.menuContainer.disabled .line.title a{
 
-
  font-size:14px;
 
-
  color:#666;
 
-
  text-shadow:#999 1px 1px 1px;
 
-
}
 
-
.menuContainer td a{
 
-
  text-decoration:none;
 
-
  color:#f3f3f3;
 
-
  text-shadow:#666 1px 1px 1px;
 
-
}
 
-
.menuContainer td.voice{
 
-
  font-family:Arial,Helvetica,sans-serif;
 
-
  font-size:14px;
 
-
  padding:7px;
 
-
}
 
-
.menuContainer .separator{
 
-
  background-color:#999;
 
-
  height:1px;
 
-
  padding:0;
 
-
  margin:0;
 
-
}
 
-
.menuContainer td.img{
 
-
  font-family:Arial,Helvetica,sans-serif;
 
-
  text-align:center;
 
-
  font-size:12px;
 
-
  color: #c3c3c3;
 
-
  background-color:transparent;
 
-
  width:24px;
 
-
  padding:5px;
 
-
}
 
-
.menuContainer td.img img{
 
-
  width:20px;
 
-
}
 
-
.menuContainer .textBox{
 
-
  padding: 10px;
 
-
  font-family:Arial,Helvetica,sans-serif;
 
-
  font-size:12px;
 
-
  color: #c3c3c3;
 
-
}
 
-
.menuContainer .selected td{
 
-
  background-color:#640c10;
 
-
  background-image:url("../images/bgnd_sel_2.jpg")
 
-
}
 
-
.menuContainer .selected td a{
 
-
  color:#000;
 
-
  text-shadow:#fff 2px 2px 1px;
 
-
  display:block;
 
-
}
 
-
.menuContainer .disabled td, .menuContainer .disabled td a {
 
-
  color:#555;
 
-
  text-shadow:#999 1px 1px 1px;
 
-
}
 
-
.menuContainer .subMenuOpener{
 
-
  background-image:url("../images/menuArrow_w.gif");
 
-
  background-repeat:no-repeat;
 
-
  background-position:right;
 
-
}
 
-
.menuContainer .selected .subMenuOpener{
 
-
  background-image:url("../images/menuArrow.gif");
 
-
  background-repeat:no-repeat;
 
-
  background-position:right;
 
-
}
 
-
 
-
</style>
 
-
<script type="text/javascript" src="http://igem.uni-bonn.de/shared/jquery.mb.menu/inc/mbMenu.js"></script>
 
-
 
-
<table  border="0">
 
-
      <tr>
 
-
        <td class="igemMenu">
 
-
 
-
          <!-- start horizontal menu -->
 
-
 
-
          <table class="rootVoices" cellspacing='0' cellpadding='0' border='0'><tr>
 
-
            <td class="rootVoice {menu: 'empty'}" onclick="window.open ('https://2013.igem.org/Team:Bonn','_self',false)">Home</td>
 
-
            <td class="rootVoice {menu: 'menu_team'}">Team</td>
 
-
            <td class="rootVoice {menu: 'empty'}" onclick="alert('Hey, we need to write this!')">Introduction</td>
 
-
            <td class="rootVoice {menu: 'empty'}" onclick="alert('Hey, we need to write this!')">Project</td>
 
-
            <td class="rootVoice {menu: 'empty'}" onclick="alert('Hey, we need to write this!')">Human Practice</td>
 
-
          </tr></table>
 
-
 
-
          <!-- end horizontal menu -->
 
-
 
-
        </td>
 
-
      </tr>
 
-
</table>
 
-
 
-
 
-
<div id="menu_team" class="mbmenu">
 
-
    <a rel="title" >Our Team</a>
 
-
    <a href="#" class="{img: 'some_nice_igem_image.png'}" >About Us</a>
 
-
    <a href="https://igem.org/Team.cgi?year=2013&team_name=Bonn" class="{img: 'some_nice_igem_image.png'}" >Official Profile</a>
 
-
    <a href="#" class="{img: 'some_nice_igem_image.png'}" >Sponsors</a>
 
-
    <a href="#" class="{img: 'some_nice_igem_image.png'}" >Acknowledgements</a>
 
-
   
 
-
    <a rel="separator"> </a> <!-- menuvoice separator-->
 
-
 
-
    <a href="#" class="{img: 'some_nice_igem_image.png'}" >Bonn</a>
 
-
</div>
 
-
 
-
</html>
 

Latest revision as of 05:17, 26 September 2013