Template:HeaderGroningen2012
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 12: | Line 12: | ||
!align="center"|[[Team:Groningen/Attributions|Attributions]] | !align="center"|[[Team:Groningen/Attributions|Attributions]] | ||
|} | |} | ||
+ | |||
+ | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | ||
+ | <head> | ||
+ | |||
+ | |||
+ | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | ||
+ | |||
+ | <script type="text/javascript" src="js/prototype.js"></script> | ||
+ | <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> | ||
+ | <script type="text/javascript" src="js/lightbox.js"></script> | ||
+ | |||
+ | <link rel="stylesheet"href="https://2011.igem.org/Team:Groningen/style.css?action=raw&ctype=text/css"/> | ||
+ | <link rel="stylesheet"href="https://2011.igem.org/Team:Groningen/style_lightbox.css"action=raw&ctype=text/css"/> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | ddaccordion.init({ | ||
+ | headerclass: "submenuheader", //Shared CSS class name of headers group | ||
+ | contentclass: "submenu", //Shared CSS class name of contents group | ||
+ | revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover" | ||
+ | mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover | ||
+ | collapseprev: true, //Collapse previous content (so only one open at any time)? true/false | ||
+ | defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content | ||
+ | onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed) | ||
+ | animatedefault: false, //Should contents open by default be animated into view? | ||
+ | persiststate: true, //persist state of opened contents within browser session? | ||
+ | toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"] | ||
+ | togglehtml: ["suffix", "<img src='https://static.igem.org/mediawiki/2011/a/a7/Groningen2011menuplus.png' class='statusicon' />", "<img src='https://static.igem.org/mediawiki/2011/5/52/Groningen2011menuminus.png' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs) | ||
+ | animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow" | ||
+ | oninit:function(headers, expandedindices){ //custom code to run when headers have initalized | ||
+ | //do nothing | ||
+ | }, | ||
+ | onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed | ||
+ | //do nothing | ||
+ | } | ||
+ | }) | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | <style type="text/css"> | ||
+ | |||
+ | /*********************************************** | ||
+ | * Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) | ||
+ | * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts | ||
+ | * This notice must stay intact for legal use | ||
+ | ***********************************************/ | ||
+ | |||
+ | .glossymenu{ | ||
+ | margin: 5px 0; | ||
+ | padding: 0; | ||
+ | width: 230px; /*width of menu*/ | ||
+ | border: 0px solid #c0c0c0; | ||
+ | border-bottom-width: 1px; | ||
+ | } |
Revision as of 17:27, 7 August 2012
Home | Team | Official Team Profile | Public Relations | Project | Wetwork | Modeling | Notebook | Parts Submitted to the Registry | Safety | Attributions |
---|