Template:Code

From 2013.igem.org

(Difference between revisions)
(Created page with "<HTML> <head> <style> .menu { background-color: #E0F8E0; } .menu ul li{ list-style:none; color:#1b2c8a; display:inline; margin-right: 10px; font-...")
Line 17: Line 17:
}  
}  
-
ul.submenu {
+
li.menu_item {
 +
  position: relative;
 +
}
 +
 
 +
.side_menu {
 +
    background-color: #E0F8E0;
 +
}
 +
 
 +
.sid_menu ul li{
 +
    list-style:none;
 +
    color:#1b2c8a;
 +
    margin-right: 10px;
 +
    fonte-size: 13px;
 +
    font-weight: bold;
 +
}
 +
 
 +
ul.side_submenu {
     display: none;
     display: none;
     background-color: #4488ff;
     background-color: #4488ff;
Line 27: Line 43:
}
}
-
li.menu_subitem a {
+
li.side_menu_subitem a {
   margin-left: 5px;
   margin-left: 5px;
   color: #fff;
   color: #fff;
Line 34: Line 50:
}
}
-
li.menu_item {
+
li.side_menu_item {
   position: relative;
   position: relative;
}
}
</style>
</style>
-
 
<script type="text/javascript">
<script type="text/javascript">
        
        
     $(function() {
     $(function() {
-
           var menu = document.getElementById("menu_items");
+
           var menu = document.getElementById("sub_menu_items");
           var menu_items = menu.childNodes;
           var menu_items = menu.childNodes;
           for (var i=0; i< menu_items.length; i++) {
           for (var i=0; i< menu_items.length; i++) {

Revision as of 03:06, 29 June 2013