Team:Colorado State
From 2012.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
<head> | <head> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#slideshow { | #slideshow { | ||
Line 79: | Line 70: | ||
//next slide in the corresponding z-index (2). Slides that are | //next slide in the corresponding z-index (2). Slides that are | ||
//neither the current or next slide should have z-index = 1. | //neither the current or next slide should have z-index = 1. | ||
- | curElem.style.zIndex = | + | curElem.style.zIndex = 30; |
- | nextElem.style.zIndex = | + | nextElem.style.zIndex = 20; |
//Sets a preliminary opacities. Optional | //Sets a preliminary opacities. Optional | ||
Line 100: | Line 91: | ||
//Sets the current slide to a hidden state with full opacity | //Sets the current slide to a hidden state with full opacity | ||
- | curElem.style.zIndex = | + | curElem.style.zIndex = 10; |
curElem.style.opacity = 1; | curElem.style.opacity = 1; | ||
Line 120: | Line 111: | ||
</script> | </script> | ||
- | |||
- | |||
</head> | </head> | ||
<body onload="fade(1,false)"> | <body onload="fade(1,false)"> | ||
- | |||
<div id="slideshow"> | <div id="slideshow"> | ||
- | + | <div id="slide1" class="slide" style="background: red; z-index: 30;"></div> | |
<div id="slide2" class="slide" style="background: blue;"></div> | <div id="slide2" class="slide" style="background: blue;"></div> | ||
<div id="slide3" class="slide" style="background: yellow;"></div> | <div id="slide3" class="slide" style="background: yellow;"></div> |
Revision as of 17:35, 13 July 2012
Home | Team | Official Team Profile | Project | Parts Submitted to the Registry | Modeling | Notebook | Safety | Sponsors | Attributions |
---|