من روی یه فایل کار میکنم که 1254 لاین کد توشه ولی اینها که لازمه رو از توش در آوردم :
<!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>
</head>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.galleryview-2.1.1.js"></script>
<script type="text/javascript" src="js/jquery.galleryview-2.1.1-pack.js"></script>
<script type="text/javascript" src="js/jquery.timers-1.2.js"></script>
<style>
/* Slide Strat */
/* GALLERY LIST */
/* IMPORTANT - Change '#photos' to the ID of your gallery list to prevent a flash of unstyled content */
#photos { visibility: hidden; }
/* GALLERY CONTAINER */
.gallery { background: #ddd; border: 1px solid #aaa; padding: 5px;}
/* LOADING BOX */
.loader { background: url(loader.gif) center center no-repeat #ddd; }
/* GALLERY PANELS */
.panel {}
/* DEFINE HEIGHT OF PANEL OVERLAY */
/* NOTE - It is best to define padding here as well so overlay and background retain identical dimensions */
.panel .panel-overlay,
.panel .overlay-background { height: 60px; padding: 0 1em; }
/* PANEL OVERLAY BACKGROUND */
.panel .overlay-background { background: #222; }
/* PANEL OVERLAY CONTENT */
.panel .panel-overlay { color: white; font-size: 0.7em; }
.panel .panel-overlay a { color: white; text-decoration: underline; font-weight: bold; }
/* FILMSTRIP */
/* 'margin' will define top/bottom margin in completed gallery */
.filmstrip { margin: 5px; }
/* FILMSTRIP FRAMES (contains both images and captions) */
.frame {}
/* WRAPPER FOR FILMSTRIP IMAGES */
.frame .img_wrap { border: 1px solid #aaa; }
/* WRAPPER FOR CURRENT FILMSTRIP IMAGE */
.frame.current .img_wrap { border-color: #000; }
/* FRAME IMAGES */
.frame img { border: none; }
/* FRAME CAPTION */
.frame .caption { font-size: 11px; text-align: center; color: #888; }
/* CURRENT FRAME CAPTION */
.frame.current .caption { color: #000; }
/* POINTER FOR CURRENT FRAME */
.pointer {
border-color: #000;
}
/* TRANSPARENT BORDER FIX FOR IE6 */
/* NOTE - DO NOT CHANGE THIS RULE */
*html .pointer {
filter: chroma(color=pink);
}
/* Slice End */
</style>
<body>
<center>
.
.
.
.
.
<div id="content">
<center>
<div id="gallery">
<div class="panel"><img src="path/to/image1.jpg" alt="image1" /></div>
<div class="panel"><img src="path/to/image2.jpg" alt="image2" /></div>
<div class="panel"><img src="path/to/image3.jpg" alt="image3" /></div>
<div class="panel"><img src="path/to/image4.jpg" alt="image4" /></div>
<div class="strip_wrapper">
<ul class="filmstrip">
<li class="frame"><div class="img_wrap"><img src="path/to/image1.jpg" alt="image1" /></div></li>
<li class="frame"><div class="img_wrap"><img src="path/to/image2.jpg" alt="image2" /></div></li>
<li class="frame"><div class="img_wrap"><img src="path/to/image3.jpg" alt="image3" /></div></li>
<li class="frame"><div class="img_wrap"><img src="path/to/image4.jpg" alt="image4" /></div></li>
</ul>
</div>
</div>
</center>
</div>
.
.
.
.
.
.
</center>
</body>
</html>
اصلا هیچ تغییری نمی کنه و همون Li ها نشون داده میشن.ولی با این کد به جایی نمی رسیم شما از این لینک می تونید دانلود کنید :
http://plugins.jquery.com/project/galleryview