An infinite scrolling full screen dribbble display effect

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Source: gbin1.com

Online demo and download

You can remember the two magic layout effects you shared earlier:

Response-style dribbble works set Magic layout display effect

Response type of width adaptive indentation dribbble Works set Magic layout display effect

Today share a Full-screen response layout effect built using the jquery Sly plug-in to support infinite scrolling.

Related plug-ins:

Jribbble: A jquery plugin to help you easily invoke the Dribbble API

Sly: A jquery plugin that helps you create horizontal scrolling effects

Main JavaScript code:

var options = {scrollby:200, speed:200, easing: ' Easeoutquart ', ScrollBar: ' #scrollbar ', Dynamichandle:1, Draghandle: 1, Clickbar:1, Mousedragging:1, touchdragging:1, releaseswing:1}; var frame = new Sly (' #frame ', options); Frame.on (' Load change ', function () {if (This.pos.dest > this.pos.end-200) {$.jribbble.getshotsbylist ("popular", Fu Nction (data) {var output=[]; $.each (data.shots, function (i, shot) {Output.push ("); Output.push ("); Output.push ('

' + Shot.title + '

'); Output.push ('

' + Shot.player.url + '

'); Output.push ("); Output.push ("); }); $images. Append (Output.join); pagenum++; Frame.reload (); }, {page:pagenum, per_page:20}); } }); Frame.init (); Reload on resize $ (window). On (' Resize ', function () {frame.reload ();});

The specific code, please download and see for yourself.

Source: Responsive Infinite scrolling full screen dribbble work set layout show effect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.