<!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" lang="UTF-8">
<head>
<title>haha</title>
<script language="javascript">
var isResizing=false;
function Resize_mousedown(event,obj){
obj.mouseDownX=event.clientX;
obj.leftTdW=obj.previousSibling.offsetWidth;
obj.setCapture();
isResizing=true;
}
function Resize_mousemove(event,obj){
if(!isResizing) return ;
var newWidth=obj.leftTdW*1+event.clientX*1-obj.mouseDownX;
if(newWidth>0) obj.previousSibling.style.width = newWidth+'px';
else obj.previousSibling.style.width=1+'px';
}
function Resize_mouseup(event,obj){
if(!isResizing) return;
obj.releaseCapture();
isResizing=false; 单片机温度自动控制系统设计
}
function Resize_setDefault(event,obj){
if(obj.innerText=="<") {
obj.parentNode.previousSibling.style.width=1+'px';
obj.innerText=">";
}
else{
obj.parentNode.previousSibling.style.width=183+'px';
obj.innerText="<";
}
event.cancelBubble=true;
}
</script>
<style>
html, body {
margin:0;
padding:0;
height:100%;
overflow: auto;
}
</style>
</head>
<body>
<table style="width:100%;height:100%;" border=0 cellspacing=0 cellpadding=0px >
<tr>
<td style='width:183px; bgcolor="#e8f3f9"'>
<iframe id="_flash123" width="0" height="0" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" ></iframe>
<SCRIPT LANGUAGE="JavaScript">
var flashmp3= document.getElementById("_flash123");
flashmp3.style.width="100%";
flashmp3.style.height=document.documentElement.clientHeight;
flashmp3.src="FlashMusic.asp";
</SCRIPT>
</td>
<td style="width:3px;cursor:e-resize;background-color:#cccccc;" align="center" valign="middle" onmousedown="Resize_mousedown
(event,this);" onmouseup="Resize_mouseup(event,this);"onmousemove="Resize_mousemove(event,this);">
<font style="size:3px;background-color:#eeeeee;cursor:pointer;" onmousedown="Resize_setDefault(event,this);"><</font></td>
<td>
<iframe id="_blog123" width="0" height="0" scrolling="Auto" frameborder="0" marginwidth="0" marginheight="0" ></iframe>
<SCRIPT LANGUAGE="JavaScript">
var blog_index= document.getElementById("_blog123");
blog_index.style.width="100%";
blog_index.style.height=document.documentElement.clientHeight;
blog_index.src="http://127.0.0.1";
</SCRIPT>
</td>
</tr>
</table>
</body>
</html>
上面是我的代码,运行和lhgdialog.js里的Math.max冲突,出现JS错误,不能正常弹窗!
不知道你到底是怎样调用的,以及具体错误提示是啥。
不过你这代码是直接复制粘贴过来的吗?
那个font标签所在行后面的</font>前面是不是多了个'<'?
那就是那个符号,随便改成什么符号都可以,问题不在这里,是JS错误,JQ与JS冲突,网上有很多,只是我初学JQ,好多地方很薄弱,所以不知道该如何修改!