Team:Grenoble-EMSE-LSU/Templates/Project
From 2013.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> | <meta http-equiv="content-type" content="text/html;charset=utf-8" /> | ||
<meta name="generator" content="Geany 0.19.1" /> | <meta name="generator" content="Geany 0.19.1" /> | ||
- | </ | + | |
+ | <link rel="stylesheet" href="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/scroll?action=raw&ctype=text/css" type="text/css" /> | ||
+ | |||
+ | <script src="https://2013.igem.org/Team:Grenoble-EMSE-LSU/Design/scroll_js" type="text/javascript"></script> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | function init_dw_Scroll() { | ||
+ | // arguments: id of scroll area div, id of content div | ||
+ | var wndo = new dw_scrollObj('scroll', 'Project'); | ||
+ | // args: id, axis | ||
+ | wndo.buildScrollControls('scrollLinks', 'v'); | ||
+ | |||
+ | // for mousedown scrolling, add as 3rd argument | ||
+ | //wndo.buildScrollControls('scrollLinks', 'v', 'mousedown'); | ||
+ | // w/o title | ||
+ | // args: id, axis, eType, bScrollbar, include title? | ||
+ | //wndo.buildScrollControls('scrollLinks', 'v', 'mousedown', false, false); | ||
+ | } | ||
+ | |||
+ | // if code supported, link in the style sheet (optional) and call the init function onload | ||
+ | if ( dw_scrollObj.isSupported() ) { | ||
+ | dw_Util.writeStyleSheet('css/scroll_v.css'); | ||
+ | dw_Event.add( window, 'load', init_dw_Scroll); | ||
+ | } | ||
+ | |||
+ | </script> | ||
+ | </head> | ||
Line 17: | Line 43: | ||
<div class="back" id="back_proj"> | <div class="back" id="back_proj"> | ||
- | <div class="left"> | + | <div class="left" id="scroll"> |
<div id="Project"><a class="title" href="/Team:Grenoble-EMSE-LSU/Project"><li class="title">Scientific Project</li></a> | <div id="Project"><a class="title" href="/Team:Grenoble-EMSE-LSU/Project"><li class="title">Scientific Project</li></a> | ||
<ul> | <ul> |
Revision as of 14:34, 10 July 2013