Jquery 只需要在我的html页面的特定部分显示/滚动简单模式框
我有一个html页面,其中有一些列表部分,我想淡出并显示该区域内的简单模式框。简单模式框不应该覆盖在整个屏幕上,而应该只出现在列表部分(其中列表部分我已经分配了div id),并且模式应该在列表的该部分滚动。它不应该移出列出的部分 如有任何想法,将不胜感激 现在我的整个屏幕都消失了,莫代尔在整个页面上滚动 这是密码Jquery 只需要在我的html页面的特定部分显示/滚动简单模式框,jquery,scroll,modal-dialog,simplemodal,Jquery,Scroll,Modal Dialog,Simplemodal,我有一个html页面,其中有一些列表部分,我想淡出并显示该区域内的简单模式框。简单模式框不应该覆盖在整个屏幕上,而应该只出现在列表部分(其中列表部分我已经分配了div id),并且模式应该在列表的该部分滚动。它不应该移出列出的部分 如有任何想法,将不胜感激 现在我的整个屏幕都消失了,莫代尔在整个页面上滚动 这是密码 <script type="text/javascript"> $(document).ready(function(){ $('#sample').modal({ ov
<script type="text/javascript">
$(document).ready(function(){ $('#sample').modal({ overlayClose:false, escClose:false, }); } </script>
</HEAD> <BODY>
<div id="sample" style="display:none"> <p>This is some sample data</p> </div>
<table>
<tr > <td >
some headers goes here
</td> </tr>
<tr > <td >
<div id="partdiv">
<table >
<tr> <td>
1. listing items goes here
</td> </tr>
<tr> <td>
2. listing items goes here
</td> </tr>
</div>
</td> </tr>
<tr > <td > some text goes</td> </tr>
</table>
$(document).ready(function(){$('#sample').modal({overcyclose:false,esclose:false,});}
这是一些示例数据
这里有一些标题
1.此处列出项目
2.此处列出项目
有些文字是这样写的
现在我只想在partdiv区域而不是整个屏幕上显示modal你能发布你的HTML/CSS代码吗?$(document).ready(function(){$('#sample').modal({overcyclose:false,esclose:false,});}这是一些示例数据一些标题放在这里1.列表项放在这里2.列表项放在这里一些文本放在这里