html:

<div class="mr_frbox">
        <div class="showtitle">
            <span>产品展示</span>
            <span class="show-right">News</span>
        </div>
        <div class="og_prev prev"></div>
        <div class="mr_frUl">
            <ul class="showlist">
                <li>
                    <a href="#">
                        <img src="data:images/hb_14.jpg" width="220" height="167" />
                        <p>尾气吸收塔</p>
                    </a>
                    <a href="#">
                        <img src="data:images/hb_14.jpg" width="220" height="167" />
                        <p>尾气吸收塔</p>
                    </a>
                </li>
                
            </ul>
        </div>
        <div class="og_next next"></div>
    </div>

js

<script src="js/jquery-1.8.3.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.SuperSlide2.js"></script>

css

/* scroll */
/* .scroll{position:relative;}
.picbox{background:#fff;position:relative;}
.goodlist p{text-align:center;} */
/* scroll */
.scroll{width:1100px;margin:0 auto;position:relative;overflow:hidden;}
.picbox{height:600px;background:#fff;overflow:hidden;position:relative;margin:15px;}
.picbox ul{height:285px;padding-top:5px;}
.piclist{position:absolute;left:0px;top:0px;}
.swaplist{position:absolute;left:-3000px;top:0px;}
.swaplist{
    clear:both;
    display:block;
    margin-top:40px;
}
.swaplist li{
    
    height:169px;
    border:1px solid #ccc;
    float:left;
    margin-right:32px;
    margin-left:18px;
    margin-bottom:50px;
}
/* btn */
.mr_frUl{
/*     margin-left:12px; */
}
.mr_frbox{
    position:relative;
}
.showtitle{
    margin-bottom:50px;
}
.showlist a img{
     border:1px solid #ccc;
    width:222px;
    height:169px;
}
.showlist p{
    height:32px;
    line-height:32px;
    margin-bottom:30px;
    text-align:center;
}
.prev{
    background:url('../images/bt_03.jpg') center no-repeat;
    width:18px;
    height:41px;
    cursor: pointer;
    position:absolute;
    left:0px;
    top:278px;
    z-index:9999;
}
.next{
    background:url('../images/bt_05.jpg') center no-repeat;
    width:18px;
    height:41px;
    cursor: pointer;
    position:absolute;
    right:0px;
    top:278px;
    z-index:9999;
}
.tempWrap{
    width:1100px !important;
}

两排滚动js的更多相关文章

  1. 移动手机端H5无缝间歇平滑向上滚动js代码

    在没结合css3的transform实现平滑过渡前,我都是用的jquery的animate方法,此方法在PC端基本看不出来有稍微卡顿的现象,但是在性能不高的手机上使用该方法,就会有明显的卡顿现象,不够 ...

  2. jQuery图片无缝滚动JS代码ul/li结构

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  3. 获取网页URL地址及参数等的两种方法(js和C#)

    转:获取网页URL地址及参数等的两种方法(js和C#) 一 js 先看一个示例 用javascript获取url网址信息 <script type="text/javascript&q ...

  4. 不间断图片滚动JS

    (从已经死了一次又一次终于挂掉的百度空间人工抢救出来的,发表日期 2014-05-07) MSClass是一款通用不间断滚动JS封装类,几乎支持目前所有流行风格的图片或文字滚动,横向/竖向/连续/间断 ...

  5. 12个高矮不同的人,排成两排(catalan数)

    问题描述: 12个高矮不同的人,排成两排,每排必须是从矮到高排列,而且第二排比对应的第一排的人高,问排列方式有多少种? 这个笔试题,很YD,因为把某个递归关系隐藏得很深. 问题分析: 我们先把这12个 ...

  6. MapReduce:将下面的两排数字先按第一排排序,然后再按第二排排序,要求顺序排序

    MapReduce:将下面的两排数字先按第一排排序,然后再按第二排排序,要求顺序排序 文件如下: 这个案例主要考察我们对排序的理解,我们可以这样做: 代码如下(由于水平有限,不保证完全正确,如果发现错 ...

  7. Comet OJ - 2019国庆欢乐赛 C题 两排房子

    ###题目链接### 题目大意:这里有横着的两排房子,给你每个房子的左端点和右端点.若两排房子中分别有两个房子 x y ,他们在横坐标上有重叠部分(端点重叠也算),则被称为 “对门” 关系. 问你总共 ...

  8. div随页面滚动遇顶固定的两种方法(js&jQuery)

    一.遇顶固定的例子 我一直以为是某个div或层随屏幕滚动,遇顶则固定,离开浏览器顶部又还原这样的例子其实不少,其实它的名字叫“层的智能浮动效果”.目前我们在国内的商业网站上就常常看到这样的效果了.例如 ...

  9. js 两个滚动事件相互影响

    document.addEventListener('scroll', function(event) { if (event.target.id === 't_r_content') { // or ...

随机推荐

  1. SecureCrt脚本(二)二级对象之Dialog

    Crt自动化 测试 SecureCrt脚本 JS脚本   1.引言 2.Dialog属性和方法 2.1.属性 2.2.方法 2.2.1.FileOpenDialog 2.2.2.MessageBox ...

  2. 使用edtftpj-***.jar上传下载中文问题的解决方案和注意点

    FileTransferClient ftpClient = null; try { ftpClient = new FileTransferClient(); // set remote host ...

  3. Ubuntu 15.10安装elementary desktop

    elementaryOS的风格类似于macos,基于Ubuntu改造,个人比较喜欢其界面理念,简单清晰.因此下载了elementaryOS Freya使用,使用过程中,各个软件版本的升级比较落后,比如 ...

  4. javascript判断非空

    /* *判断非空 * */ function isEmpty(val){ if(val == null)return true; if(val == undefined || val == 'unde ...

  5. CentOS源列表

    vi /etc/yum.repos.d/CentOS-Base.repo CentOS 5: # CentOS-Base.repo # # The mirror system uses the con ...

  6. 如何设置NBU的Backup, Archive and Restore

    第一行表示Master Server 第二行猜测表示当前主机 第三行不清楚   总结: 1. 这里压根就没有Media Server的事, Media Server对整个备份系统来说是透明的. 2. ...

  7. Javascript 笔记与总结(2-13)定时器 setTimeout 和 setInterval

    定时器可以让 js 效果每隔几秒钟执行一次或者 n 秒之后执行某一个效果.定时器不属于 javascript,是 window 对象提供的功能. setTimeout 用法: window.setTi ...

  8. python多线程使用

    内容链接: http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/00138683236 ...

  9. add user

    ubuntu adduser deploy usermod -a -G sudo deploy centos adduser deploy passwd deploy usermod -a -G wh ...

  10. SQL2008全部数据导出导入两种方法【转】

        方法一:生成脚本导出导入sql2008全部数据 第一步,右键要导出的数据库,任务--生成脚本 第二步,在设置脚本编写选项处,点击--高级(A),选择要编写脚本的数据的类型为:架构和数据 如果找 ...