Team:KULeuven/Tools/Navigation Bar
From 2008.igem.org
(Difference between revisions)
m |
m |
||
Line 14: | Line 14: | ||
<script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.js"></script> | <script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.js"></script> | ||
+ | <script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.center.js"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function ddnav() { | function ddnav() { | ||
Line 45: | Line 46: | ||
function () { | function () { | ||
$(this).removeClass('undocked').addClass('docked'); | $(this).removeClass('undocked').addClass('docked'); | ||
- | $('#ddnav').css('position','fixed');}, | + | $('#ddnav').css('position','fixed').center();}, |
function () { | function () { | ||
$(this).removeClass('docked').addClass('undocked'); | $(this).removeClass('docked').addClass('undocked'); |
Revision as of 08:19, 4 September 2008