通过列表视图/网格视图显示记录 [英] Display records by list view / grid view

查看:118
本文介绍了通过列表视图/网格视图显示记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

检查出来

检查上面的URL,

您可以找到像列表视图/网格视图选项的选项用于显示记录。

You can find the options like list view/ grid view option for displaying the records.

我想知道是有任何开源脚本,任何jQuery插件能够做到这一点,请给建议。我要让同一种工作,在我的网站。

May I know is there any open source script for that, any jquery plugin can do that, please give suggestion. I want to make same kind of work in my site.

推荐答案

您不需要插件;简单地用JS改变级集装箱ANS CSS来改变视图视之类的。

You don't need a plugin ; simply use JS to change class of container ans CSS to change view depending of the class.

工作小提琴解释: http://jsfiddle.net/akarun/LJf9p/

注:该JS code能优化,呃,它只是品尝

这篇关于通过列表视图/网格视图显示记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆