jQuery MiniUI
标题:
鼠标右键的区域问题
[打印本页]
作者:
caicai0328
时间:
2012-8-11 13:31:38
标题:
鼠标右键的区域问题
[attach]340[/attach]我按事例办法添加了鼠标右键,但是为什么有表右键的区域只在我画的这么个范围了里面才有右键
源代码:
<div id="outlookbar1" class="mini-outlookbar " style="width:100%;height:100%;" autoCollapse="true" onactivechanged="activechanged">
<div id="sub_v_v" title="车辆订阅" contextMenu="#treeMenu_vehicle">
<ul id="tree_v" class="mini-tree" style="width:300px;padding:5px;"
showTreeIcon="true" textField="n" idField="i" nodesField="c" contextMenu="#treeMenu_vehicle" ondrawnode="onDrawNode">
</ul>
</div>
<div id="sub_v_r" title="线路订阅" contextMenu="#treeMenu_route">
<ul id="tree_r" class="mini-tree" style="width:300px;padding:5px;"
showTreeIcon="true" textField="n" idField="i" nodesField="c" contextMenu="#treeMenu_route" onnodeselect="onNodeSelect">
</ul>
</div>
<div id="sub_v_z"title="区域订阅" contextMenu="#treeMenu_zone" >
<ul id="tree_z" class="mini-tree" style="width:300px;padding:5px;" style="border: 2px solid #bbb;"
showTreeIcon="true" textField="n" idField="i" nodesField="c" contextMenu="#treeMenu_zone" ondrawnode="onDrawNode">
</ul>
</div>
</div>
我分别对 id="sub_v_v" id="sub_v_r" id="sub_v_z" 三个区域添加了鼠标右键操作,但是能点击右键的范围怎么不是整个div呢??
作者:
niko
时间:
2012-8-11 19:20:36
contextMenu设置给控件对象,如mini-outlookbar或mini-tree。
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2