Cjuisortable displays a list of list items that can be dragged and re-adjusted in order to encapsulate the JUI sortable plug-in. Its basic usage is as follows: [PHP] Clientscript->registercss (' sortable ', "#sortable {list-style-type:none; margin:0; padding:0; width:60%;} #sortable li {margin:2px; padding:4px; border:1px solid #e3e3e3; background: #f7f7f7} ", ' Screen ', Cclientscript::P os_h EAD);?>
Widget (' zii.widgets.jui.CJuiSortable ', array (' id ' = ' sortable ', ' Items ' =>array (' id1 ' + ' Item 1 ', ' id2 ' = = ' Item 2 ', ' ID3 ' + ' Item 3 ', ' Options ' =>array (' cursor ' = ' n-resize ',),));?> Clientscript->registercss (' sortable ', "#sortable {list-style-type:none; margin:0; padding:0; width:60%;} #sortable li {margin:2px; padding:4px;border:1px solid #e3e3e3; background: #f7f7f7} ", ' Screen ', Cclientscript::P Os_hea D);? >
Widget (' zii.widgets.jui.CJuiSortable ', array (' id ' = ' sortable ', ' Items ' =>array (' id1 ' + ' Item 1 ', ' id2 ' = = ' Item 2 ', ' ID3 ' + ' Item 3 ', ' Options ' =>array (' cursor ' = ' n-resize ',),));? >
http://www.bkjia.com/PHPjc/477818.html www.bkjia.com true http://www.bkjia.com/PHPjc/477818.html techarticle cjuisortable Displays a list of list items that can be dragged and re-adjusted in order to encapsulate the JUI sortable plug-in. Its basic usage is as follows: [PHP]? PHP yii::app ()-client ...