使用JQuery TreeTable插件



Attention:

 1.設置jquery 調用是用 $jq。 Treetable插件 depends on jquery.插件用(function($){})(jQuery),加載完後直接執行。It still works without any changes!

 

 

Dev progress:

1.First, we would like to add a bold border per package in order to empesize it!

But new table’s <tr> column can notalign to outer or its before table’s <tr><td> design!

2.Found it is ok to use <div> to form the table. But not easy for me to do. (display:inline). Not know how to put two line in a div. like this:

 

How to use the plugin:

      just need to add "data-tt-id" and "data-tt-parent-id" into <tr>!!!  And the plugin will do the others!

 

 

Temple Code Resource:

http://ludo.cubicphuse.nl/jquery-treetable/

 

Other important acknowledge:

http://www.jb51.net/article/42816.htm  jQuery中$.fn的用法示例介紹

http://blog.csdn.net/fly_zxy/article/details/50687691HTML5中的data-*屬性和jQuery中的.data()方法使用

 

 

other confuse:http://www.jb51.net/article/42750.htm

jquery$.fn $.fx是什麼意思有什麼用

 

other UI reference: Tree Menu:http://www.17sucai.com/pins/demoshow/5209  

 

 

 

 

 

Submitted Code :

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章