http://www.cssplay.co.uk/menu/gallery3l.html
Cascading Style Sheet
#gallery { padding:0; margin:0; list-style-type:none; overflow:hidden; width:320px; height:425px; border:1px solid #888; background:#fff url(windows/win_back.gif); } #gallery li { float:left; } #gallery li a { display:block; height:30px; width:320px; float:left; text-decoration:none; border-bottom:1px solid #fff; cursor:default; } #gallery li a img { width:320px; height:30px; border:0; } #gallery li a:hover { background:#eee; height:239px; } #gallery li a:hover img { height:239px; }
XHTML
<ul id="gallery"> <li><a href="#nogo"> <img src="windows/win7.jpg" alt="#1" title="#1" /></a></li> <li><a href="#nogo"> <img src="windows/win8.jpg" alt="#2" title="#2" /></a></li> <li><a href="#nogo"> <img src="windows/win9.jpg" alt="#3" title="#3" /></a></li> <li><a href="#nogo"> <img src="windows/win10.jpg" alt="#4" title="#4" /></a></li> <li><a href="#nogo"> <img src="windows/win11.jpg" alt="#5" title="#5" /></a></li> <li><a href="#nogo"> <img src="windows/win12.jpg" alt="#6" title="#6" /></a></li> <li><a href="#nogo"> <img src="windows/win13.jpg" alt="#7" title="#7" /></a></li> </ul>
그외의 이미지 슬라이드 방식은 아래 URL 을 참고
http://www.web3mantra.com/2011/03/28/25-css-image-galleries/