Team:Harvard/Team

From 2011.igem.org

(Difference between revisions)
Line 59: Line 59:
</style>
</style>
-
 
+
</script>
 +
$().ready(function() {
 +
$('#coda-slider-5').codaSlider({
 +
dynamicArrows: false,
 +
dynamicTabs: false
 +
});
 +
});
 +
</script>
<div class="coda-slider-wrapper">
<div class="coda-slider-wrapper">
<div id="coda-nav-left-5" class="coda-nav-left"><a href="#" title="Slide left">&#171;</a></div>
<div id="coda-nav-left-5" class="coda-nav-left"><a href="#" title="Slide left">&#171;</a></div>
Line 101: Line 108:
<div>
<div>
<div>
<div>
 +
 +
<script>
<script>
function show(k)
function show(k)

Revision as of 18:01, 28 July 2011

</html> <style> /* jQuery Coda-Slider v2.0 - http://www.ndoherty.biz/coda-slider Copyright (c) 2009 Niall Doherty This plugin available for use in all personal or commercial projects under both MIT and GPL licenses.

  • /

/* Insignificant stuff, for demo purposes */

body { padding: 20px } .panel h2.title { margin-bottom: 10px } noscript div { background: #ccc; border: 1px solid #900; margin: 20px 0; padding: 15px }

/* Most common stuff you'll need to change */

.coda-slider-wrapper { padding: 20px 0 } .coda-slider { background: #ebebeb }

/* Use this to keep the slider content contained in a box even when JavaScript is disabled */ .coda-slider-no-js .coda-slider { height: 200px; overflow: auto !important; padding-right: 20px }

/* Change the width of the entire slider (without dynamic arrows) */ .coda-slider, .coda-slider .panel { width: 600px }

/* Change margin and width of the slider (with dynamic arrows) */ .coda-slider-wrapper.arrows .coda-slider, .coda-slider-wrapper.arrows .coda-slider .panel { width: 600px } .coda-slider-wrapper.arrows .coda-slider { margin: 0 10px }

/* Arrow styling */ .coda-nav-left a, .coda-nav-right a { background: #000; color: #fff; padding: 5px; width: 100px }

/* Tab nav */ .coda-nav ul li a.current { background: #39c }

/* Panel padding */ .coda-slider .panel-wrapper { padding: 20px }

/* Preloader */ .coda-slider p.loading { padding: 20px; text-align: center }

/* Don't change anything below here unless you know what you're doing */

/* Tabbed nav */ .coda-nav ul { clear: both; display: block; margin: auto; overflow: hidden } .coda-nav ul li { display: inline } .coda-nav ul li a { background: #000; color: #fff; display: block; float: left; margin-right: 1px; padding: 3px 6px; text-decoration: none }

/* Miscellaneous */ .coda-slider-wrapper { clear: both; overflow: auto } .coda-slider { float: left; overflow: hidden; position: relative } .coda-slider .panel { display: block; float: left } .coda-slider .panel-container { position: relative } .coda-nav-left, .coda-nav-right { float: left } .coda-nav-left a, .coda-nav-right a { display: block; text-align: center; text-decoration: none } </style>

</script> $().ready(function() { $('#coda-slider-5').codaSlider({ dynamicArrows: false, dynamicTabs: false }); }); </script>

<a href="#" title="Slide left">«</a>
  • <a href="#1">Panel 1</a>
  • <a href="#2">Panel 2</a>
  • <a href="#3">Panel 3</a>
  • <a href="#4">Panel 4</a>
<a href="#" title="Slide right">»</a>

Contents

Panel 1

Lorem ipsum dolor sit amet...

Panel 2

Proin nec turpis eget dolor dictum lacinia...

Panel 3

Cras luctus fringilla odio vel hendrerit....

Panel 4

Nulla ultricies ornare erat...


<script> function show(k) { elem = document.getElementById('kristin');

 elem.style.display = 'none';

if(k==1){

elem.style.display = 'block';

}

elem = document.getElementById('justin');

 elem.style.display = 'none';

if(k==2){

 elem.style.display = 'block';

}

elem = document.getElementById('sarah');

 elem.style.display = 'none';

if(k==3){

  elem.style.display = 'block';

}

elem = document.getElementById('will');

 elem.style.display = 'none';

if(k==4){

 elem.style.display = 'block';

}

elem = document.getElementById('naomi');

 elem.style.display = 'none';

if(k==5){

  elem.style.display = 'block';

}

elem = document.getElementById('brandon');

 elem.style.display = 'none';

if(k==6){

 elem.style.display = 'block';

}

elem = document.getElementById('mark');

 elem.style.display = 'none';

if(k==7){

 elem.style.display = 'block';

}

elem = document.getElementById('matt');

 elem.style.display = 'none';

if(k==8){

  elem.style.display = 'block';

}

elem = document.getElementById('nida');

 elem.style.display = 'none';

if(k==9){

  elem.style.display = 'block';

}

} </script>


</style>


Kristin Barclay Justin Chew Sarah Choudhury William Clerx Naomi Genuth Brandon Gerberich Mark Kopelman Matt Lunati Nida Naushad

</html>


Retrieved from "http://2011.igem.org/Team:Harvard/Team"