Difference between revisions of "Template:Freiburg/Menubar"
Line 17: | Line 17: | ||
#header { | #header { | ||
height: 113px; | height: 113px; | ||
− | background-color: #EEEDED; | + | /*background-color: #EEEDED;*/ |
} | } | ||
/* End General Settings */ | /* End General Settings */ | ||
Line 288: | Line 288: | ||
#navtext li { | #navtext li { | ||
margin: 0px auto; /*centers text*/ | margin: 0px auto; /*centers text*/ | ||
− | |||
list-style: none; | list-style: none; | ||
display: block; /*makes items go horizontal and centers them*/ | display: block; /*makes items go horizontal and centers them*/ | ||
Line 298: | Line 297: | ||
margin-top: 2px; | margin-top: 2px; | ||
height: 24px; | height: 24px; | ||
− | + | padding-left: 10px; | |
+ | padding-right: 10px; | ||
text-decoration: none; | text-decoration: none; | ||
color: #FFF; | color: #FFF; | ||
Line 304: | Line 304: | ||
text-align: center; | text-align: center; | ||
border-radius: 8px; | border-radius: 8px; | ||
+ | z-index: 200; | ||
} | } | ||
Line 313: | Line 314: | ||
#project-sub { | #project-sub { | ||
display: none; | display: none; | ||
− | left: | + | left: 22.6%; |
} | } | ||
Line 319: | Line 320: | ||
/*background-color: #ac34fe;*/ | /*background-color: #ac34fe;*/ | ||
display: none; | display: none; | ||
− | left: | + | left: 35.2%; |
} | } | ||
#results-sub{ | #results-sub{ | ||
display: none; | display: none; | ||
− | left: | + | left: 50.25%; |
} | } | ||
#policy-sub{ | #policy-sub{ | ||
display: none; | display: none; | ||
− | left: | + | left: 63%; |
} | } | ||
#notebook-sub{ | #notebook-sub{ | ||
display: none; | display: none; | ||
− | left: | + | left: 77.9%; |
} | } | ||
Line 352: | Line 353: | ||
<!------------- BEGIN: jQuery -------------> | <!------------- BEGIN: jQuery -------------> | ||
− | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | $(function() { | ||
Line 370: | Line 371: | ||
$("#policy-sub") .hide(); | $("#policy-sub") .hide(); | ||
$("#notebook-sub") .hide(); | $("#notebook-sub") .hide(); | ||
+ | }, | ||
+ | function(){ | ||
+ | $("#project-sub") .hide(); | ||
}); | }); | ||
Line 378: | Line 382: | ||
$("#policy-sub") .hide(); | $("#policy-sub") .hide(); | ||
$("#notebook-sub") .hide(); | $("#notebook-sub") .hide(); | ||
+ | }, | ||
+ | function(){ | ||
+ | $("#team-sub") .hide(); | ||
}); | }); | ||
Line 394: | Line 401: | ||
$("#results-sub") .hide(); | $("#results-sub") .hide(); | ||
$("#notebook-sub") .hide(); | $("#notebook-sub") .hide(); | ||
+ | }, | ||
+ | function(){ | ||
+ | $("#policy-sub") .hide(); | ||
}); | }); | ||
Line 402: | Line 412: | ||
$("#results-sub") .hide(); | $("#results-sub") .hide(); | ||
$("#policy-sub") .hide(); | $("#policy-sub") .hide(); | ||
+ | }, | ||
+ | function(){ | ||
+ | $("#notebook-sub") .hide(); | ||
}); | }); | ||
// make chip stay over main menu point when its submenu appears and makes the submenu stay visible// | // make chip stay over main menu point when its submenu appears and makes the submenu stay visible// |
Revision as of 17:09, 3 September 2015