Dwimmer
view release on metacpan or search on metacpan
share/public/cleditor/jquery.cleditor.advancedtable.min.js view on Meta::CPAN
/*
CLEditor Advanced Table Plugin v1.0.0
http://premiumsoftware.net/cleditor
requires CLEditor v1.2.2 or later
Copyright 2010, Sergio Drago
Dual licensed under the MIT or GPL Version 2 licenses.
Based on Chris Landowski's Table Plugin v1.0.2
*/
(function(c){c.cleditor.buttons.table={name:"table",image:"table.gif",title:"Insert Table",command:"inserthtml",popupName:"table",popupClass:"cleditorPrompt",popupContent:'<table cellpadding=0 cellspacing=0><tr><td style="padding-right:6px;">Cols:<br...
buttonClick:function(l,d){c(d.popup).children(":button").unbind("click").bind("click",function(){var j=d.editor,a=c(d.popup).find(":text"),e=parseInt(a[0].value),f=parseInt(a[1].value),g=parseInt(a[2].value),h=parseInt(a[3].value),i=parseInt(a[4].val...
g+(k?' style="'+k+'"':"")+">";for(y=0;y<f;y++){b+="<tr>";for(x=0;x<e;x++)b+="<td>"+x+","+y+"</td>";b+="</tr>"}b+="</table><br />"}b&&j.execCommand(d.command,b,null,d.button);a[0].value="4";a[1].value="4";a[2].value="2";a[3].value="2";a[4].value="1";a...
( run in 0.631 second using v1.01-cache-2.11-cpan-364913b4093 )