Team:Potsdam Bioware/slider

From 2012.igem.org

(Difference between revisions)
Line 36: Line 36:
}
}
-
#slider [id^="image"] p{
+
#slider [id^="image"] div{
position: absolute;
position: absolute;
top: -200px;
top: -200px;
Line 46: Line 46:
}
}
-
#slider [id^='image']:target p{
+
#slider [id^='image']:target div{
top: 0;   
top: 0;   
left: 0;
left: 0;
Line 87: Line 87:
<div id="image-1">
<div id="image-1">
-
<a href=""><img src="https://static.igem.org/mediawiki/2012/3/3e/UP12June.jpg"/></a>
+
<div></div>
<a class="slider-nav" href="#image-1"></a>
<a class="slider-nav" href="#image-1"></a>
</div>
</div>
<div id="image-2">
<div id="image-2">
-
<a href=""><img src="https://static.igem.org/mediawiki/2012/2/24/UP12July.jpg"/></a>
+
                <div></div>
<a class="slider-nav" href="#image-2"></a>
<a class="slider-nav" href="#image-2"></a>
</div>
</div>
<div id="image-3">
<div id="image-3">
-
<p>even more</p>
+
<div></div>
<a class="slider-nav" href="#image-3"></a>
<a class="slider-nav" href="#image-3"></a>
</div>
</div>
<div id="image-4">
<div id="image-4">
-
<p>the last</p>
+
<div>t</div>
<a class="slider-nav" href="#image-4"></a>
<a class="slider-nav" href="#image-4"></a>
</div>
</div>

Revision as of 17:12, 22 September 2012

t