首页 > 代码库 > win8 tiles风格标签插件jquery.wordbox.js

win8 tiles风格标签插件jquery.wordbox.js

http://www.html580.com/12180

 

jquery.wordbox.js轻松实现win8瓦片tiles式风格标签插件,只需要调用JS就能轻松实现瓦片菜单,自定义菜单背景颜色,支持响应式设计。

技术分享

var titles = [‘JavaScript‘, ‘CSS‘, ‘HTML‘, ‘HTML5‘, ‘SVG‘, ‘PHP‘, ‘Python‘, ‘Shell‘, ‘WebGL‘];
   var words = [];
   for(var i = 0; i < titles.length; i++) {
       words[i] = {
           "title" : titles[i],
           "url" : ""
       }
   }
   var colors = [‘#cc5b34‘, ‘#c27c4d‘];
   $("#wordbox").wordbox({
       isLead: false,         
       leadWord: null,
       words: words,
       colors: colors,
       isFixedWidth: true,
       width: 800,
       height: 200
   });
 
http://www.jq22.com/jquery-info1360  一款很不错的后台管理网站

win8 tiles风格标签插件jquery.wordbox.js