حرکت تصاویر هم با کلیک mouse + هم به صورت اتوماتیک
کد:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title><-BlogAndPostTitle-></title><style>#Slider { height:400px; margin:4px 0 0 0; }.carousel-container { position:relative; width:960px; margin:0 auto;}#carousel { height:449px; width:960px; position:relative;}.carousel-image { border:0; display:block;}.carousel-feature { position:absolute; top:-1000px; left:-1000px; cursor:pointer;}.CopyRight{ border:1px #e281c3 solid; border-radius:20px; -moz-border-radius:20px; -ms-border-radius:20px; -webkit-border-radius:20px; -o-border-radius:20px; -khtml-border-radius:10px; background:#fff; padding:4px; width:600px; margin-bottom:10px;}</style><script type="text/javascript" src="http://shahinshahr.rozup.ir/nn/jquery_1.6.3.min.js"></script><script type="text/javascript" src="http://shahinshahr.rozup.ir/nn/jquery.jigowatt.js"></script><script src="http://shahinshahr.rozup.ir/nn/jquery.featureCarousel.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $("#carousel").featureCarousel({ autoPlay:7000, trackerIndividual:false, trackerSummation:false, topPadding:50, smallFeatureWidth:.9, smallFeatureHeight:.9, sidePadding:0, smallFeatureOffset:0 }); }); </script></head><body style="background-image: url('http://shahinshahr.rozup.ir/nn/207.jpg')"><div id="Slider"> <div class="carousel-container"> <div id="carousel"> <div style="left: 295.05px; width: 369.9px; height: 404.1px; top: 50px; opacity: 0; z-index: 1;" class="carousel-feature"> <img style="width: 369.9px; height: 404.1px;" class="carousel-image" alt="" src="http://shahinshahr.rozup.ir/nn/1.png"> </div> <div style="left: 0px; width: 369.9px; height: 404.1px; top: 50px; opacity: 1; z-index: 1;" class="carousel-feature"> <img style="width: 369.9px; height: 404.1px;" class="carousel-image" alt="" src="http://shahinshahr.rozup.ir/nn/2.png"> </div> <div style="left: 274.5px; width: 411px; height: 449px; top: 50px; opacity: 1; z-index: 4;" class="carousel-feature"> <img style="width: 411px; height: 449px;" class="carousel-image" alt="" src="http://shahinshahr.rozup.ir/nn/3.png"> </div> <div style="left: 590.1px; width: 369.9px; height: 404.1px; top: 50px; opacity: 1; z-index: 1;" class="carousel-feature"> <img style="width: 369.9px; height: 404.1px;" class="carousel-image" alt="" src="http://shahinshahr.rozup.ir/nn/4.png"> </div> </div> </div> </div></br></br></br></br></br></br><div align="center"><div class="CopyRight"><a href="http://www.shahinshahr.rozblog.com">SHAHinSHAHR.ROZBLOG.COM</a>بهترین وبلاگ تفریحی ایرانیان © </div></div></body></html>
