<html> <head> <title>ÇØÇÇCGI</title> <style type="text/css"> #container{ width: 500px; /* º¸ÀÌ´Â ¿µ¿ª °¡·ÎÅ©±â*/ height: 220px; /* º¸ÀÌ´Â ¿µ¿ª ¼¼·ÎÅ©±â*/ border: 8px solid #FFF; overflow: auto; margin: 0 auto; overflow-x:hidden; overflow-y:hidden; margin-top:30px; }
.main-content { width: 2055px; /* ³»¿ëºÎºÐÀÇ Àüü °¡·ÎÅ©±â */ height: 180px; /* ³»¿ëºÎºÐÀÇ Àüü ¼¼·ÎÅ©±â */ padding:5px; background:#CCCCCC; }
.section{ margin:0 0 0 0; width:200px; /* ·¹À̾·ÎÅ©±â */ float:left; margin-right:5px; /*·¹À̾î¿Í ·¹ÀÌ¾î »çÀÌ °£°Ý*/ cursor:hand; /* ¸¶¿ì½ºÄ¿¼Ç¥½Ã */ } h1{font-family:Georgia, "Times New Roman", Times, serif; font-size:28px;}
</style> <script type="text/javascript" src="js/mootools.svn.js"></script> <script type="text/javascript"> window.addEvent('domready', function(){ var scroll2 = new Scroller('container', {area: 100, velocity: 1});
// container $('container').addEvent('mouseover', scroll2.start.bind(scroll2)); $('container').addEvent('mouseout', scroll2.stop.bind(scroll2)); }); </script> </head>
<body> <div id="container"> <div class="main-content"> <div class="section"> <img src="image/s1.jpg" border=0> </div>
<div class="section"> <img src="image/s2.jpg" border=0> </div>
<div class="section"> <img src="image/s3.jpg" border=0> </div>
<div class="section"> <img src="image/s4.jpg" border=0> </div>
<div class="section"> <img src="image/s5.jpg" border=0> </div>
<div class="section"> <img src="image/s1.jpg" border=0> </div>
<div class="section"> <img src="image/s2.jpg" border=0> </div>
<div class="section"> <img src="image/s3.jpg" border=0> </div>
<div class="section"> <img src="image/s4.jpg" border=0> </div>
<div class="section"> <img src="image/s5.jpg" border=0> </div>
</div> </div> </body> </html>
|