Template:Http://2014.igem.org/Team:ULB-Brussels/Template
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<head> | <head> | ||
<!--init and scripts --> | <!--init and scripts --> | ||
- | <script> | + | <style type="text/css"> |
+ | #monmenu {font-family: trebuchet ms, arial, tahoma, verdana, sans-serif; font-size: 90%; font-weight:bold;} | ||
+ | #monmenu ul ul {display: none; left: 144px; top: -1px; position: absolute; margin:0px; padding: 0px; border: 1px solid #B0B0B0;} | ||
+ | #monmenu li {list-style-type: none; position: relative; width: 140px; background-color: #E0E0E0; padding: 2px; margin: 0px} | ||
+ | #monmenu li:hover, #monmenu li.sfhover {background-color: #FFFF70;} | ||
+ | #monmenu li a {text-decoration:none;} | ||
+ | #monmenu li:hover ul.niveau2, #monmenu li li:hover ul.niveau3, #monmenu li.sfhover ul.niveau2, #monmenu li li.sfhover ul.niveau3 {display: block} | ||
+ | #monmenu li.plus {background-position:right; background-image: url(illustrations/ fdroite.gif); background-repeat: no-repeat; border-bottom: 1px solid #B0B0B0;} | ||
+ | </style> | ||
+ | <!--[if lt IE 7]> | ||
+ | <script type="text/javascript"> | ||
+ | // Fonction destinée à remplacer le "LI:hover" pour IE 6 | ||
+ | sfHover = function() { | ||
+ | var sfEls = document.getElementById("monmenu").getElementsByTagName("li"); | ||
+ | for (var i=0; i<sfEls.length; i++) { | ||
+ | sfEls[i].onmouseover = function() { | ||
+ | this.className = this.className.replace(new RegExp(" sfhover"), ""); | ||
+ | this.className += " sfhover"; | ||
+ | } | ||
+ | sfEls[i].onmouseout = function() { | ||
+ | this.className = this.className.replace(new RegExp(" sfhover"), ""); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | if (window.attachEvent) window.attachEvent("onload", sfHover); | ||
+ | </script> | ||
+ | <style type="text/css"> | ||
+ | #monmenu li {width: 144px;} | ||
+ | </style> | ||
+ | <![endif]--> | ||
+ | <meta name="keywords" | ||
+ | content="CSS, cascading style sheets, mise en page, design, site, web, techniques, sites, webmaster, page"> | ||
+ | <meta name="description" | ||
+ | content="Voici un exemple de code de menu hiérarchique déroulant réalisé à l'aide de CSS."> | ||
+ | <title>Exemple de menu hiérarchique en CSS</title> | ||
+ | <script type="text/javascript" src="https://static.igem.org/mediawiki/2014/7/7f/Slider.jpg"></script> | ||
+ | <script> | ||
jssor_slider1_starter = function (containerId) { | jssor_slider1_starter = function (containerId) { | ||
- | |||
var options = { | var options = { | ||
- | $ | + | $DragOrientation: 3, |
- | $ | + | $ArrowNavigatorOptions: { |
- | + | $Class: $JssorArrowNavigator$, | |
- | $Class: $ | + | |
$ChanceToShow: 2, | $ChanceToShow: 2, | ||
- | $AutoCenter: | + | $AutoCenter: 0, |
- | $Steps | + | $Steps: 1 |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
}; | }; | ||
var jssor_slider1 = new $JssorSlider$(containerId, options); | var jssor_slider1 = new $JssorSlider$(containerId, options); | ||
- | } | + | }; |
</script> | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo,.printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo,.printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/ | ||
Line 325: | Line 283: | ||
<div u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: 1106px; height: 300px; | <div u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: 1106px; height: 300px; | ||
overflow: hidden;"> | overflow: hidden;"> | ||
+ | <div><img u="image" src="https://static.igem.org/mediawiki/2014/8/82/ULB2014PLACEHOLDER2.png" /></div> | ||
<div><img u="image" src="https://static.igem.org/mediawiki/2014/8/87/ULB2014PLACEHOLDER1.png" /></div> | <div><img u="image" src="https://static.igem.org/mediawiki/2014/8/87/ULB2014PLACEHOLDER1.png" /></div> | ||
- | |||
</div> | </div> | ||
- | + | <!-- Arrow Navigator Skin Begin --> | |
- | <!-- | + | |
<style> | <style> | ||
- | /* jssor slider | + | /* jssor slider arrow navigator skin 03 css */ |
/* | /* | ||
- | . | + | .jssora03l (normal) |
- | . | + | .jssora03r (normal) |
- | . | + | .jssora03l:hover (normal mouseover) |
- | . | + | .jssora03r:hover (normal mouseover) |
- | . | + | .jssora03ldn (mousedown) |
+ | .jssora03rdn (mousedown) | ||
*/ | */ | ||
- | . | + | .jssora03l, .jssora03r, .jssora03ldn, .jssora03rdn |
{ | { | ||
- | background: url(https://static.igem.org/mediawiki/2014/ | + | position: absolute; |
+ | cursor: pointer; | ||
+ | display: block; | ||
+ | background: url(https://static.igem.org/mediawiki/2014/d/d3/ULB2014ARROWS.png) no-repeat; | ||
overflow:hidden; | overflow:hidden; | ||
- | |||
} | } | ||
- | . | + | .jssora03l { background-position: -3px -33px; } |
- | . | + | .jssora03r { background-position: -63px -33px; } |
- | . | + | .jssora03l:hover { background-position: -123px -33px; } |
- | . | + | .jssora03r:hover { background-position: -183px -33px; } |
+ | .jssora03ldn { background-position: -243px -33px; } | ||
+ | .jssora03rdn { background-position: -303px -33px; } | ||
</style> | </style> | ||
- | <!-- | + | <!-- Arrow Left --> |
- | < | + | <span u="arrowleft" class="jssora03l" style="width: 55px; height: 55px; top: 123px; left: 8px;"> |
- | + | </span> | |
- | + | <!-- Arrow Right --> | |
- | </ | + | <span u="arrowright" class="jssora03r" style="width: 55px; height: 55px; top: 123px; right: 8px"> |
- | <!-- | + | </span> |
- | + | <!-- Arrow Navigator Skin End --> | |
- | <a style="display: none" href="http://www.jssor.com">carousel slider</a> | + | <a style="display: none" href="http://www.jssor.com">carousel slider</a> |
- | <!-- Trigger --> | + | <!-- Trigger --> |
<script> | <script> | ||
jssor_slider1_starter('slider1_container'); | jssor_slider1_starter('slider1_container'); | ||
- | </script> | + | </script> |
- | </div> | + | </div> |
- | <!-- Jssor Slider End --> | + | <!-- Jssor Slider End --> |
<!--navigation menu --> | <!--navigation menu --> | ||
<td align="center" colspan="3"> | <td align="center" colspan="3"> | ||
Line 381: | Line 343: | ||
margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
<a href="https://2014.igem.org/Team:ULB-Brussels"style="color:#000000">Home </a> </td> | <a href="https://2014.igem.org/Team:ULB-Brussels"style="color:#000000">Home </a> </td> | ||
- | |||
- | |||
<td style= " | <td style= " | ||
Line 396: | Line 356: | ||
<td style= " | <td style= " | ||
- | background :#8b8b8b | + | background :#8b8b8b |
- | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | + | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') |
background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | ||
background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | ||
Line 403: | Line 363: | ||
position: relative; | position: relative; | ||
margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
- | <a href="https:// | + | <a href="https://igem.org/Team.cgi?year=2014&team_name=ULB-Brussels"style="color:#000000"> Official Team Profile </a></td> |
- | <td | + | <td style= " |
- | background :#8b8b8b | + | background :#8b8b8b |
- | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | + | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') |
background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | ||
background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | ||
Line 414: | Line 374: | ||
margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
- | <a href="https://2014.igem.org/Team:ULB-Brussels/Project"style="color:#000000"> < | + | <a href="https://2014.igem.org/Team:ULB-Brussels/Project"style="color:#000000"> Project</a></td> |
- | + | ||
- | + | <td style= " | |
background :#8b8b8b | background :#8b8b8b | ||
- | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=' | + | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') |
- | background : -webkit-gradient(linear, left top, left bottom, | + | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); |
- | background : -moz-linear-gradient(top, | + | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); |
- | + | border-top: 2px solid #939393; | |
- | + | position: relative; | |
- | + | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | <a href="https://2014.igem.org/Team:ULB-Brussels/Parts"style="color:#000000"> Parts</a></td> |
- | background :#8b8b8b | + | |
- | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | + | <td style= " |
+ | background :#8b8b8b | ||
+ | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | ||
background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | ||
background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | ||
Line 437: | Line 395: | ||
position: relative; | position: relative; | ||
margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
- | |||
- | |||
+ | <a href="https://2014.igem.org/Team:ULB-Brussels/Modeling"style="color:#000000"> Modeling</a></td> | ||
+ | <td style= " | ||
+ | background :#8b8b8b | ||
+ | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | ||
+ | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | ||
+ | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | ||
+ | border-top: 2px solid #939393; | ||
+ | position: relative; | ||
+ | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
+ | <td style= " | ||
+ | background :#8b8b8b | ||
+ | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | ||
+ | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | ||
+ | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | ||
+ | border-top: 2px solid #939393; | ||
+ | position: relative; | ||
+ | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
+ | <a href="https://2014.igem.org/Team:ULB-Brussels/Safety"style=" color:#000000"> Safety </a></td> | ||
+ | <td style= "border-radius: 0px 15px 15px 0px; behavior: url(border-radius.htc); | ||
+ | background :#8b8b8b | ||
+ | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a') | ||
+ | background : -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); | ||
+ | background : -moz-linear-gradient(top, #a9a9a9, #7a7a7a); | ||
+ | border-top: 2px solid #939393; | ||
+ | position: relative; | ||
+ | margin-bottom: 30px;" align="center" height ="45px" onMouseOver="this.bgColor='#B0C4DE'" onMouseOut="this.bgColor='#8b8b8b'" bgColor=#8b8b8b > | ||
+ | <a href="https://2014.igem.org/Team:ULB-Brussels/Attributions"style="color:#000000"> Attributions </a></td> | ||
<td style= " border-radius: 15px 0px 0px 15px; behavior: url(border-radius.htc); position: relative; | <td style= " border-radius: 15px 0px 0px 15px; behavior: url(border-radius.htc); position: relative; |
Revision as of 22:16, 8 July 2014