nicescroll滚动条插件兼容ie6+、手机、ipad。
首先我们在#content加入一定高度的内容。一定要出现滚动条,不然看不到效果。<div> <br>
<h2 id="我们的特色">我们的特色</h2> <br>
<p>1、软件+人工精心仿制。3个工作日内完成仿制</p> <br>
<p>2、文件归类。图片放在images文件夹,样式css,特效js,字体fonts</p> <br>
<p>3、个人中心、需要登录等页面也可仿制</p> <br>
<p>4、html完美格式化。</p> <br>
...... <br>
</div>
调用niceScroll 滚动条插件非常简单:$('#content').niceScroll({ <br>
cursorcolor: "#ccc",//#CC0071 光标颜色 <br>
cursoropacitymax: 1, //改变不透明度非常光标处于活动状态(scrollabar“可见”状态),范围从1到0 <br>
touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备 <br>
cursorwidth: "5px", //像素光标的宽度 <br>
cursorborder: "0", // 游标边框css定义 <br>
cursorborderradius: "5px",//以像素为光标边界半径 <br>
autohidemode: false //是否隐藏滚动条 <br>
});
当然我们也可以做整个页面的滚动条,只要是设置body即可。
滚动条演示:http://www.sucaihuo.com/js/125.html
nicescroll下载:http://www.sucaihuo.com/jquery/demo/125/js/jquery.nicescroll.js
AD:真正免费,域名+虚机+企业邮箱=0元

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Chinese version
Chinese version, very easy to use

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Atom editor mac version download
The most popular open source editor

Zend Studio 13.0.1
Powerful PHP integrated development environment