jQuery插件实现大图全屏图片相册

大图全屏图片相册jQuery插件,支持左右按钮切换以及点击大图自动切换图片,基于jQuery插件jQuery.album.js,插件支持参数自定义功能,viewMode:0没有缩略图 1有缩略图  2缩略图。全屏幕。可以对图片进行左右转,具体的参数大家可以查看jQuery.album.js文件,总之效果很不错,喜欢的朋友可学习下

复制代码 代码如下:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" contect="zh-CN">
<title>非常不错的JS相册特效代码下载 </title>
<meta content="JS代码,JS特效,JS特效代码,JS相册特效,JS相册代码,jQuery相册特效,jQuery相册插件,jQuery相册图片轮播" />
<meta content="JS代码网提供高质量的JS相册特效代码,jQuery相册特效下载" />
<link type="text/css" href="css/base.css?v=1409654123" />
<link type="text/css" href="css/album.css?v=1409654123" media="all" />
<script type="text/javascript" src="js/jquery.js?v=1409654123"></script>
<script type="text/javascript">
var dxlCityId = 7;
var _current_num=0;
</script>
<!--[if IE]>
<style type="text/css">
.valin{ display:block;}
.valin i {
    display:inline-block;
    height:100%;
    vertical-align:middle
    }
.valin img {
    vertical-align:middle
    }
</style>
<![endif]-->
</head>
<body>
<div>
  <div h title="上一张 "><i></i></div>
  <div title="下一张 "><i></i></div>
  <div>
    <div> <i></i><img src="https://www.jb51.net/images/20140121161108.JPG" alt="" />
      <p></p>
    </div>
    <div></div>
  </div>
  <div h>
    <div>
      <ul>
      </ul>
    </div>
    <i title="上一页"></i> <i title="下一页"></i> </div>
</div>
<textarea>
            <li>
     <div> <img alt="JS相册特效" src="https://www.jb51.net/images/tiny/20140121161108.JPG"></div>
      <p></p>
      <i>images/20140121161108.JPG</i>
      <i></i>
      </li>
            <li>
     <div> <img src="https://www.jb51.net/images/tiny/20140121161130.jpg" alt=""></div>
      <p></p>
      <i>images/20140121161130.jpg</i>
      <i></i>
      </li>
            <li>
     <div> <img src="https://www.jb51.net/images/tiny/20140121161152.jpg" alt=""></div>
      <p></p>
      <i>images/20140121161152.jpg</i>
      <i></i>
      </li>
            <li>
     <div> <img src="https://www.jb51.net/images/tiny/20140121161231.JPG" alt=""></div>
      <p></p>
      <i>images/20140121161231.JPG</i>
      <i></i>
      </li>
            <li>
     <div> <img alt="JS相册特效" src="https://www.jb51.net/images/tiny/20140126134637.jpg"></div>
      <p></p>
      <i>images/20140126134637.jpg</i>
      <i></i>
      </li>
            <li>
     <div> <img alt="JS相册特效" src="https://www.jb51.net/images/tiny/20140121181958.jpg"></div>
      <p></p>
      <i>images/20140121181958.jpg</i>
      <i></i>
      </li>
            <li>
     <div> <img alt="JS相册特效" src="https://www.jb51.net/images/tiny/20140121182023.jpg"></div>
      <p></p>
      <i>images/20140121182023.jpg</i>
      <i></i>
      </li>
            <li>
     <div> <img alt="JS相册特效" src="https://www.jb51.net/images/tiny/20140121182118.jpg"></div>
      <p></p>
      <i>images/20140121182118.jpg</i>
      <i></i>
      </li>
</textarea>
<div>
                    <div>
                        <p>
                            <strong>花嫁丽舍私人婚礼会所(世博店)</strong><i>档期查询</i><br> 
                        </p>
                        <p>
                            即将为你查询:<span><em>2014</em>年<em>01</em>月<em>24</em>日</span>的婚宴档期情况<br>
                            请输入手机号码,便于接受酒店实时档期信息!
                        </p>
                        <div>
                            <div>
                                <label>请输入手机号</label><input type="text" value="" maxlength="11"><span><em></em></span>
                            </div>
                        </div>
                        <div><input type="submit" value=""><i>您的重要信息不会被泄露&nbsp;&nbsp;详见隐私条约</i></div>
                        <div></div>
                        <input type="hidden" value="do">
                        <input type="hidden" value="detail">
                        <input type="hidden" value="a">
                        <input type="hidden" value="schedule_hotel">
                        <input type="hidden" value="">
                        <input type="hidden" value="return">
                        <input type="hidden" value="sh_HotelDetail_Schedule_TopCenter">            
                    </div>
                   <input type="hidden" value="sh">
                   <input type="hidden" value="5499" />
                   <input type="hidden" value="花嫁丽舍私人婚礼会所(世博店)" />
</div>
<script type="text/javascript">
function scaleImage(o, w, h) {
    var img = new Image();
    img.src = o.src;
    if (img.width > 0 && img.height > 0) {
        if (img.width / img.height >= w / h) {
            if (img.width > w) {
                o.width = w;
                o.height = (img.height * w) / img.width;
            } else {
                o.width = img.width;
                o.height = img.height;
            }
           // o.alt = img.width + "x" + img.height;
        } else {
            if (img.height > h) {
                o.height = h;
                o.width = (img.width * h) / img.height;
            } else {
                o.width = img.width;
                o.height = img.height;
            }
            //o.alt = img.width + "x" + img.height;
        }
    }
}
</script>
<script type="text/javascript" src="js/jquery.album.js?v=1409654123"></script>
</body>
</html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wgfwjs.html