jquery可拖动表格调整列格子的宽度大小(转)
2014-07-03 12:45
507 查看
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jquery可拖动表格调整列格子的宽度大小</title>
</head>
<body>
<style type="text/css">
table{border-collapse:collapse;border-spacing:0;}
.listext th{background:#eee;color:#3366cc;}
.listext th,.listext td{border:solid 1px #ddd;text-align:left;padding:10px;font-size:14px;}
.rc-handle-container{position:relative;}
.rc-handle{position:absolute;width:7px;cursor:ew-resize;*cursor:pointer;margin-left:-3px;}
</style>
<table width="100%" class="listext">
<tr>
<th>www</th>
<th>daixiaorui</th>
<th>com</th>
</tr>
<tr>
<td>欢迎</td>
<td>您的</td>
<td>访问</td>
</tr>
<tr>
<td>欢迎</td>
<td>您的</td>
<td>访问</td>
</tr>
</table>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.resizableColumns.js"></script>
<script type="text/javascript">
$(function(){
$("table").resizableColumns({});
});
</script>
</body>
</html>
文章出自:http://www.daixiaorui.com/read/98.html 本站所有文章,除注明出处外皆为原创,转载请注明本文地址,版权所有。
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jquery可拖动表格调整列格子的宽度大小</title>
</head>
<body>
<style type="text/css">
table{border-collapse:collapse;border-spacing:0;}
.listext th{background:#eee;color:#3366cc;}
.listext th,.listext td{border:solid 1px #ddd;text-align:left;padding:10px;font-size:14px;}
.rc-handle-container{position:relative;}
.rc-handle{position:absolute;width:7px;cursor:ew-resize;*cursor:pointer;margin-left:-3px;}
</style>
<table width="100%" class="listext">
<tr>
<th>www</th>
<th>daixiaorui</th>
<th>com</th>
</tr>
<tr>
<td>欢迎</td>
<td>您的</td>
<td>访问</td>
</tr>
<tr>
<td>欢迎</td>
<td>您的</td>
<td>访问</td>
</tr>
</table>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.resizableColumns.js"></script>
<script type="text/javascript">
$(function(){
$("table").resizableColumns({});
});
</script>
</body>
</html>
文章出自:http://www.daixiaorui.com/read/98.html 本站所有文章,除注明出处外皆为原创,转载请注明本文地址,版权所有。
相关文章推荐
- jquery可拖动表格调整列格子的宽度大小 本文章来源于 代潇瑞博客 原文地址:http://www.daixiaorui.com/read/98.html
- jquery可拖动表格调整列格子的宽度大小
- 表格拖动调整列宽JQuery代码(1/2)
- jQuery拖动调整表格列宽度-resizableColumns
- JQuery拖动表头边框线调整表格列宽效果代码
- jqGrid随窗口大小调整表格宽度
- JQuery 表格拖动调整列宽效果
- JQuery 表格拖动调整列宽效果
- jQuery拖动调整表格列宽度-resizableColumns
- JQuery表格拖动调整列宽效果(自己动手写的)
- jquery动态调整div大小使其宽度始终为浏览器宽度
- JQuery 表格拖动调整列宽效果
- jquery动态调整div大小使其宽度始终为浏览器宽度
- jQuery拖动调整表格列宽度-resizableColumns
- JQuery 表格拖动调整列宽效果
- jQuery拖动调整表格列宽度-resizableColumns
- jquery入门 动态调整div大小,使其宽度始终为浏览器宽度
- jQuery拖动调整表格列宽度-resizableColumns
- 可以让表格变为拖动边界调整列宽度的JS办法
- JQuery拖动表头边框线调整表格列宽效果代码