快速動態級聯的網格:stackgrid.adem.js

jopen 9年前發布 | 15K 次閱讀 JavaScript開發工具包 stackgrid.adem.js

stackgrid.adem.js 是一個簡單快速的 JavaScript 插件,它可以幫助你創建動態的級聯網格。

示例代碼:

var stackgrid = new Stackgrid;
// Configurate your stackgrid options here.
stackgrid.config.column_width = 240;
// One way to make sure everything is loaded is
// to wrap the initializer inside window onload.
window.onload = function() {  
// The initializer takes in two arguements:
// the grid container selector, and the grid items selector
  stackgrid.initialize('#grid-container', '.grid-item');

};

快速動態級聯的網格:stackgrid.adem.js

項目主頁:http://www.baiduhome.net/lib/view/home/1435630689591

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!