`

jScrollPane 美化滚动条

阅读更多

jScrollPane 美化滚动条


在线实例

滚动条可见 滚动条隐藏

使用方法

 

 <div class="container">
            <h1>滚动条可见</h1>
            <div class="wrapper">
                <div id="jp-container" class="jp-container">
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/16.jpg"/>
                        <div>
                            <h3>jQuery仿天猫完美加入购物车</h3>
                        手册网网页特效第一个demo:超炫加入购物车效果,和天猫、聚美优品加入购物车效果相媲美。本文介绍一款加入购物车插件jquery.fly.min.js,点击加入购物车,物品以抛物线动画效果到达购物车。 </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/15.jpg"/>
                        <div>
                            <h3>flexslider图片轮播、多图相册滑动(支持触屏版)</h3>
                            Flexslider是一款jQuery滚动插件,代码非常简洁,拓展性很高。可创建图片轮播效果、焦点图效果、图文混排滚动效果,支持手机端等移动设备滑动。
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/14.jpg"/>
                        <div>
                            <h3>jQuery Timelinr时间轴插件</h3>
                            jQuery Timelinr时间轴插件可以滑动切换、水平和垂直滚动、支持键盘方向键,并且支持鼠标滚轮。.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/13.jpg"/>
                        <div>
                            <h3>Automatic Image Montage with jQuery</h3>
                            Arranging images in a montage like fashion can be a challenging task when considering certain constraints, like the window size when using fullscreen, the right image number to fill all the available space or also the size of the images in use. With the following script you can automatically create a montage, either for a liquid container or a fixed size container (including fullscreen), with the option to fill all the gaps.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/12.jpg"/>
                        <div>
                            <h3>Image Zoom Tour with jQuery</h3>
                            Today we want to share a little zoom tour script with you. Showing a main image initially, we want to be able to zoom into certain parts of the image by clicking on tags, using another image for the closer view. This next step can contain other tags that again allow to show more images. 
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/11.jpg"/>
                        <div>
                            <h3>Circular Content Carousel with jQuery</h3>
                            Today we want to share a simple circular content carousel with you. The idea is to have some content boxes that we can slide infinitely (circular). When clicking on the more link, the respective item moves to the left and a content area will slide out. Now we can navigate through the carousel where each step will reveal the next or previous content box with its expanded content. 
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/10.jpg"/>
                        <div>
                            <h3>Portfolio Image Navigation with jQuery</h3>
                            Today we want to create a portfolio image navigation template with jQuery. The idea is to show some portfolio items in a grouped fashion and navigate through them in all 2D ways (horizontal/vertical). Either the arrows or the little boxes below the current image can be used in order to navigate.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/9.jpg"/>
                        <div>
                            <h3>Expanding Fullscreen Grid Portfolio</h3>
                            Today we want to share a neat experimental portfolio template with you. The main idea is to have a grid layout that we create with jQuery Masonry. Clicking to view more, we expand the according item to fullscreen in order to show a longer description of the item and a representative fullscreen background image.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/8.jpg"/>
                        <div>
                            <h3>Content Rotator with jQuery</h3>
                            Today we want to share a fancy content rotator with you. It shows some image with a headline and sub-headline in each slide and allows navigating through the slides using the thumbnails that also contain a headline. Hiding the thumbnails will reveal a scrollable text container and the navigation arrows will move up so that one can navigate to the previous or next slides.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/7.jpg"/>
                        <div>
                            <h3>Vertical Sliding Accordion with jQuery</h3>
                            Today we want to share a slick and flexible vertical jQuery accordion with you. The main idea is to expand the accordion slices on click and show some more information. The other slices will become less opaque and squeezed. When navigating to the next slice using one navigation arrows, a new slice will slide in from the top or the bottom. Once a slice is open and we navigate, the subsequent slice will open on slide.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/6.jpg"/>
                        <div>
                            <h3>Animated Text and Icon Menu with jQuery</h3>
                            Today we want to show you how to create a slick menu with a nice animation feature on hover. The idea is to make some elements slide out, change and animate the background color of the item and then slide the elements back in with a different color.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/5.jpg"/>
                        <div>
                            <h3>Fullscreen Slideshow with HTML5 Audio and jQuery</h3>
                            In today's tutorial we'll create a fullscreen photo slideshow to illustrate a New York picture series. We will add sounds with the HTML5 audio element in order to give life to the gallery and try to recreate the ambient of this vibrant city.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/4.jpg"/>
                        <div>
                            <h3>Sliding Background Image Menu with jQuery</h3>
                            Today we want to share another jQuery menu with you. This menu will have several panels, each one corresponding to a different background image that will show on all panels when we hover over a panel label. Also, a submenu will slide out from the bottom. This menu comes with some configuration possibilities, such as the size of the image, the hover effect and custom default states.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/3.jpg"/>
                        <div>
                            <h3>Grid Navigation Effects with jQuery</h3>
                            Today we want to share some neat grid navigation effects using jQuery. In our examples we will show you ten ways how to navigate through a set of thumbnails. We'll take a look at some of the possibilities and how to apply the effect.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/2.jpg"/>
                        <div>
                            <h3>Image Wall with jQuery</h3>
                            Today we want to show you how to create a neat image wall with jQuery. The idea is to scatter some thumbnails with different sizes on the page and make a ribbon slide in when we click on the picture. The ribbon will show some description next to the picture and when clicking again on the thumbnail, the ribbon will close and open again with a large version of the image.
                        </div>
                    </a>
                    <a  href="#">
                        <img src="/api/jq/5733e35517d78/images/thumbs/1.jpg"/>
                        <div>
                            <h3>Sliding Letters with jQuery</h3>
                            Today we have a neat little effect for you. We want to bring some life to the standard hover effect by playing around with the letters in an anchor word. The aim is to slide in letter by letter when hovering over a link element. We can either have the same word or a different one and we can slide in the new letters all the same time or one after the other.
                        </div>
                    </a>
                </div>
                <div class="clr"></div>
            </div>

 

 

 <script type="text/javascript">
            $(function() {
                $('#jp-container').jScrollPane({
                    verticalGutter: -16
                })
            });
        </script>

 

2
0
分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

    java美化JScrollPanel的滚动条

    setTitle("滚动美化"); setSize(800, 600); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); Container container = getContentPane(); container.setLayout(null); DefaultMutableTreeNode root = ...

    前台滚动条美化

    通过美化滚动条,我们可以将其转变为界面的亮点,使整体设计更加和谐统一,同时也提高了用户操作的舒适度。 要实现滚动条美化,我们可以利用CSS3的新特性,如伪元素`:hover`, `:active`, 和`:focus`来改变滚动条的...

    swing中的滚动条.doc

    在Java Swing中,滚动条(JScrollPane)是用于在用户界面中提供滚动功能的重要组件,它允许用户查看超出视口大小的组件内容。`JScrollPane`不仅包含滚动条,还包含一个称为ViewPort的特殊区域,这个区域显示的是实际...

    jQuery滚动条美化插件

    总结来说,这款jQuery滚动条美化插件通过结合jQuery和jScrollPane的强大力量,提供了美观且用户友好的滚动条解决方案。它展示了JavaScript和CSS在提升网页交互体验上的巨大潜力,对于希望提升网站视觉效果的开发者来...

    jScrollPane

    jScrollPane 提供了一个优雅的解决方案,允许开发者通过CSS样式来美化网页中的滚动条,使其与整体设计更协调,提升用户体验。 ### 滚动条的基本概念 滚动条是用户界面中常见的一种交互元素,用于查看超出可视区域的...

    Java常用面板之JScrollPane滚动面板实例详解

    开发者可以通过调用JScrollPane的setHorizontalScrollBarPolicy方法来控制水平滚动条的行为,同理也可以通过setVerticalScrollBarPolicy方法控制垂直滚动条的行为。 在学习过程中,建议编程初学者应该亲自敲代码而...

    自定义滚动条 scroll js滚动条

    在网页设计中,有时我们希望对页面的默认滚动条进行美化或者定制,使其与网站的风格更加协调,提升用户体验。"自定义滚动条 scroll js滚动条"就是这样一个主题,它涉及到JavaScript库,如jQuery和jScroll,以及图像...

    jScrollPane:漂亮,可自定义的跨浏览器替换滚动条

    jScrollPane-跨浏览器自定义滚动条 jScrollPane是一个插件,它允许您使用HTML结构替换浏览器的默认滚动条(在具有溢出的元素上:auto ),该结构可以使用CSS轻松换肤。 要查看实际使用的jScrollPane示例,请访问。 ...

    jquery jscrollpane.js滚动窗口仿微信聊天对话窗口样式(支持手机触屏拖动窗口).rar

    jQuery jscrollpane.js是基于jQuery的一个轻量级插件,主要用于美化浏览器默认的滚动条,使其更符合现代网页设计的需求。它提供了丰富的自定义选项,包括滚动条的外观、滚动行为以及触摸设备的支持。在本项目中,...

    15个带示例的jQuery滚动条插件

    标题中的“15个带示例的jQuery滚动条插件”指的是一个集合,它包含了15种不同的jQuery插件,这些插件都是用于定制和美化网页中的滚动条效果的。在网页设计中,滚动条是必不可少的元素,但默认的浏览器滚动条样式往往...

    jquery滚动条

    "jquery滚动条"这个主题聚焦于如何利用jQuery来控制和美化网页上的滚动条。滚动条是用户界面中一个不可或缺的部分,尤其在长内容页面上,它允许用户浏览超出视口的内容。 在HTML5中,浏览器默认的滚动条样式是有限...

    source

    JScrollPane提供了一种优雅的方式来替换浏览器默认的滚动条,使得滚动更加平滑,同时提供了一套API来控制滚动条的行为,比如滚动位置的改变和监听滚动事件。 2. "JSDoc3":这是一个用于生成JavaScript文档的工具。...

    jQuery和html5全屏响应式文章水平横向布局

    `jScrollPane`是jQuery的一个插件,专门用于美化和定制滚动条。它提供了一种优雅的方式替换浏览器默认的滚动条,可以自定义滚动条的颜色、大小、样式,并且支持触摸设备。在这个模板中,jScrollPane可能被用于文章...

    java课件(完整版)第8章--5

    2. 滚动条面板(JScrollPane):当一个组件的内容超过了可视区域时,JScrollPane可以提供滚动条,使得用户能查看超出视区的部分。它可以包裹任何可滚动的组件,如JTable、JList或JTextArea。 3. 分隔条面板...

    jq.zip

    4. **插件开发**:jQuery 社区提供了大量插件,如 Lightbox(图片预览)、 jScrollPane(滚动条美化)等。开发者也可以利用 `.fn.extend()` 创建自己的插件。 5. **jQuery 与原生 JavaScript 的对比**:jQuery 封装...

    用JAVA做记事本

    由于文本可能会很长,因此需要使用 `JScrollPane` 来添加滚动条。在本例中,通过 `new JScrollPane(textArea, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);` 创建了一...

    50个开发者最喜欢使用的jQuery插件

    12. **NiceScroll**:美化滚动条的插件,让滚动更加平滑和美观。 13. **Easy Pie Chart**:简单易用的饼图插件,适用于展示百分比数据。 14. **Toastr**:优雅的提示信息插件,提供多种样式和位置选项。 15. **...

    程序设计实用案例选讲袁卫华案例选讲第六次课.ppt

    `JPanel`是中间容器,用于组合轻量级组件,而`JScrollPane`则用于添加滚动条,以便查看大量内容。 **控件组件**是用户界面的基本交互元素,如按钮(`JButton`)、文本框(`JTextField`)等。它们是GUI的最小单位,...

    用java编教务系统的源码.doc

    8. **JScrollPane**:`JScrollPane` 用于包裹 `JTable`,当表格内容过多无法完全显示时,提供了滚动条以便查看所有数据。 9. **数据库查询和操作**:尽管源码中没有具体实现,但在实际的教务系统中,你需要连接...

    ASWING教程

    - **滑动条、进度条和滚动条**:指导如何使用JSlider、JProgressBar和JScrollBar等组件创建动态反馈机制。 #### 9. 创建自己的组件 - **数字步进器NumericStepper**:通过实例教学如何创建自定义组件NumericStepper...

Global site tag (gtag.js) - Google Analytics