Adaptive waterfall Layout (phone, PC fully compatible)

Source: Internet
Author: User

There is a waterfall-type layout needs, so find the next, most of the internet with jquery control, the interface is too complex, looks very cumbersome, I need more simple, so I can only write

In fact, the principle is to use CS to control, then we just need to the corresponding interface to plan on the line, for example, I a page to be divided into 2 columns, and then presented as a waterfall type, is two UL

As for the dynamic repeater binding, I can only think of the two repeater, and then bind the time, according to I%2==0 a set to split into 2, respectively bound to the corresponding repeater

The effect is as follows

Binding part, I feel there is room for improvement, time Jincu, no time to study, there are more methods of students, welcome advice.

Full code:

http://download.csdn.net/detail/jine515073/9214077

Adaptive waterfall Layout (phone, PC fully compatible)

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.