下拉式菜单的问题[急] JK_10000(JK) 能否给各例子? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用<iframe name="up" ....>上面链接的target="up" 这样就行了 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>JK:支持民族工业,尽量少买X货</title><script language="javascript"> var isResizing=false;function Resize_mousedown(event,obj){ if(!obj.setCapture) return ; isResizing=true; obj.mouseDownX=event.clientX; obj.leftTdW=obj.previousSibling.offsetWidth; obj.setCapture(); }function Resize_mousemove(event,obj){ if(!isResizing) return ; var newWidth=obj.leftTdW*1+event.clientX*1-obj.mouseDownX; if(newWidth>1) obj.previousSibling.style.width = newWidth; else { obj.previousSibling.style.width=1; obj.childNodes[0].innerHTML=">"; } if(newWidth>149) obj.childNodes[0].innerHTML="<";}function Resize_mouseup(event,obj){ if(!isResizing) return; obj.releaseCapture(); isResizing=false;}function Resize_setDefault(event,obj){ if(obj.innerHTML=="<") { obj.parentNode.previousSibling.style.width=1; obj.innerHTML=">"; } else{ obj.parentNode.previousSibling.style.width=150; obj.innerHTML="<"; } event.cancelBubble=true;}</script> </head><body style='margin:0' ><table style="width:100%;height:100%;" border=0 cellspacing=0 cellpadding=0 ><tr style="height:40px;"><td colspan=3 ><A href="#" onmouseover="document.getElementById('aaa').style.display='';" onmouseout="document.getElementById('aaa').style.display='none';">Munu1</A><div style="background-color:#cccccc; width: 150px; display:none; z-index:50;height:300px; position:absolute;" id=aaa ><br/>ddddd</div></td></tr><tr style="height:2px;line-height:2px;background-color:#cccccc;"><td colspan=3 ></td></tr><tr><td style="width:150px;" ><iframe zindex=1 id="a" src="http://community.csdn.net/Tree/tree.htm" style="width:100%;height:100%; "></iframe></td><td style="width:8px;cursor:e-resize;background-color:#cccccc;size:8px;z-index:10px;" align="center" valign="middle" onmousedown="Resize_mousedown(event,this);" onmouseup="Resize_mouseup(event,this);" onmousemove="Resize_mousemove(event,this);" > <font style="background-color:#eeeeee;cursor:pointer;" onmousedown="Resize_setDefault(event,this);"><</font></td><td><iframe zindex=1 id="b" name="ContentFrame" src="about:blank" style="width:100%;height:100%;z-index:10"></iframe></td></tr></table></body></html> 修改div的位置 关于jquery插件flexigrid js问题,在线等高手指点!先谢谢了 如何根据节点id来删除节点? 头痛的问题,请求帮忙! 一个正则的问题? 如何用js去除option标签的disabled属性 困扰我两天的问题,谢谢大家帮忙解决! 讨论:1.人为什么这么少;2.为什么有很多重复问题。 Ext.5.1.0 使用手札 简单问题 求Web中播放音频的解决方案
上面链接的target="up" 这样就行了
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>JK:支持民族工业,尽量少买X货</title>
<script language="javascript">
var isResizing=false;
function Resize_mousedown(event,obj){
if(!obj.setCapture) return ;
isResizing=true;
obj.mouseDownX=event.clientX;
obj.leftTdW=obj.previousSibling.offsetWidth;
obj.setCapture();
}function Resize_mousemove(event,obj){
if(!isResizing) return ;
var newWidth=obj.leftTdW*1+event.clientX*1-obj.mouseDownX;
if(newWidth>1) obj.previousSibling.style.width = newWidth;
else {
obj.previousSibling.style.width=1;
obj.childNodes[0].innerHTML=">";
}
if(newWidth>149) obj.childNodes[0].innerHTML="<";
}
function Resize_mouseup(event,obj){
if(!isResizing) return;
obj.releaseCapture();
isResizing=false;
}
function Resize_setDefault(event,obj){
if(obj.innerHTML=="<") {
obj.parentNode.previousSibling.style.width=1;
obj.innerHTML=">";
}
else{
obj.parentNode.previousSibling.style.width=150;
obj.innerHTML="<";
}
event.cancelBubble=true;
}
</script>
</head><body style='margin:0' >
<table style="width:100%;height:100%;" border=0 cellspacing=0 cellpadding=0 >
<tr style="height:40px;"><td colspan=3 >
<A href="#" onmouseover="document.getElementById('aaa').style.display='';"
onmouseout="document.getElementById('aaa').style.display='none';">Munu1</A>
<div style="background-color:#cccccc; width: 150px; display:none; z-index:50;height:300px; position:absolute;" id=aaa >
<br/>
ddddd
</div>
</td>
</tr>
<tr style="height:2px;line-height:2px;background-color:#cccccc;"><td colspan=3 >
</td>
</tr>
<tr>
<td style="width:150px;" >
<iframe zindex=1 id="a" src="http://community.csdn.net/Tree/tree.htm" style="width:100%;height:100%; "></iframe>
</td><td style="width:8px;cursor:e-resize;background-color:#cccccc;size:8px;z-index:10px;" align="center" valign="middle"
onmousedown="Resize_mousedown(event,this);" onmouseup="Resize_mouseup(event,this);" onmousemove="Resize_mousemove(event,this);" >
<font style="background-color:#eeeeee;cursor:pointer;" onmousedown="Resize_setDefault(event,this);"><</font>
</td><td>
<iframe zindex=1 id="b" name="ContentFrame" src="about:blank" style="width:100%;height:100%;z-index:10"></iframe>
</td>
</tr>
</table>
</body>
</html>