Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery plugins jquery.exe可通过滚动选择_Jquery Plugins - Fatal编程技术网

Jquery plugins jquery.exe可通过滚动选择

Jquery plugins jquery.exe可通过滚动选择,jquery-plugins,Jquery Plugins,我想在设置为overflow:auto的div内的表上使用jquery.selective <div style="overflow:auto; height: 250px"> <table id="#selectable"> <!-- big table with lots of cells --> </table> </div> 在表格溢出的情况下,我希望能够选择比可见区域大的单元格范围。当我拖动到可见区域的边缘时,它应该滚动

我想在设置为overflow:auto的div内的表上使用jquery.selective

<div style="overflow:auto; height: 250px">
<table id="#selectable">
<!-- big table with lots of cells -->
</table>
</div>

在表格溢出的情况下,我希望能够选择比可见区域大的单元格范围。当我拖动到可见区域的边缘时,它应该滚动以允许我选择更大的区域


这在没有jquery.Selective的情况下可以工作,例如,当您使用滚动条高亮显示div中的纯文本时。但是启用jquery.Selective后,它将不会滚动。有没有办法在选择时启用滚动?

可以复制更多代码吗

我认为你可以改变:

<table id="#selectable">
<table id="selectable">