http://www.csdn.net/develop/Read_Article.asp?Id=19114
解决方案 »
- 做一组图片,10秒钟自动切换另外一张
- 输入框是否有数据来决定按钮状态 找不到问题在哪
- js 用document.getElementsByName()获取表格数据
- 点击确认时,能不能进行对页面上的值传到后台作判断后,再传到页面上~~~~~~急,在线等
- 2个下拉框实现联动脚本如何写
- 请教一下.简单的代码,为什么读不了xml数据.
- 我在写个追加onsubmit的函数框架(附code),遇到问题,高手入。
- 请问我如何才能获取并且设置页面位置,top和left
- 高分求助用JavaScript读写XML文件.
- 两个简单问题
- 怎么才能???实现对视频的控制
- 在调用window.close()后,出现“是否关闭此窗口!”的提示,如何不让这个提示出现??
</OBJECT>
function hide()
{
document.all("aa").style.display='none';
}
function show()
{
var l=parseFloat(event.clientX);
var t=parseFloat(event.clientY);
var sW=parseFloat(document.body.clientWidth);
var sH=parseFloat(document.body.clientHeight);
with(document.all("aa").style)
{
var h=parseFloat(height.substring(0,3));
left=(l+180>sW?l-152:l);
top=(t+h>sH?t-h+document.body.scrollTop:t+document.body.scrollTop);
display='';
return false;
}
}
http://www.njch.com.cn/menuxx.rar
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div id=fixpositionlayeroutiejundesign1 style="position:absolute">
<iframe frameborder=0 marginheight=0 marginwidth=0 hspace=0 vspace=0 scrolling=no name=maskframeoutiejundesign2 height='390'></iframe>
</div>
ssss<br>
ssss<br>
ssss<br>
ssss<br><iframe style=" border-style:solid; border-width:1" frameborder="0" height="350" width=200>sssssssssssss</iframe>
ssss<br>
ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>
ssss<br>
ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>
ssss<br>
ssss<br>
ssss<br>
ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>ssss<br>
</body>
<script language=javascript>
var striframe='';
function rightmove()
{
if(window.top.document.body.scrollTop<100){fixpositionlayeroutiejundesign1.style.top=40}
else{
fixpositionlayeroutiejundesign1.style.top=window.top.document.body.scrollTop-100;
}
fixpositionlayeroutiejundesign1.style.left=screen.width-290;
setTimeout("rightmove();",80)
}
rightmove();
function writeframe()
{
striframe+='<style type="text/css">'
striframe+='<!--'
striframe+='.td-L {'
striframe+=' border-left-width: 2px;'
striframe+=' border-left-style: solid;'
striframe+=' border-left-color: #296296;'
striframe+=' font-size:12px;'
striframe+='}'
striframe+='-->'
striframe+='</style>'
striframe+='<table width="250" border="0" cellpadding="0" cellspacing="0">'
striframe+=' <tr>'
striframe+=' <td width="100%" align="right" background="images/div_titlebj.gif" class="td-L"><span onMouseOver="this.style.cursor=\'hand\'" onClick="if(document.all.fixpositionlayeroutiejundesignshowhidelayer.style.display==\'none\'){document.all.fixpositionlayeroutiejundesignshowhidelayer.style.display=\'\'}else{document.all.fixpositionlayeroutiejundesignshowhidelayer.style.display=\'none\'}">办理完成</span> | 办理完成 | 办理完成 </td>'
striframe+=' <td width="2"><img src="images/div_right.gif" width="12" height="27"></td>'
striframe+=' </tr>'
striframe+='</table>'
striframe+='<div id="fixpositionlayeroutiejundesignshowhidelayer" style="display:none">'
striframe+='<table width="250" border="0" cellspacing="0" cellpadding="0">'
striframe+=' <tr>'
striframe+=' <td background="images/div_bj.gif" width="2"></td>'
striframe+=' <td align="center" width="236"><iframe id="fixpositionlayeroutiejundesignframe" src=http://www.infohold.com.cn frameborder="0" scrolling="auto" width="98%" height="350" align="right" style="z-index:9999 "></iframe></td>'
striframe+=' <td width="12" background="images/div_02right.gif"><img src="images/div_02right.gif" width="12" height="4"></td>'
striframe+=' </tr>'
striframe+='</table>'
striframe+='</div>'
striframe+='<table width="250" border="0" cellspacing="0" cellpadding="0">'
striframe+=' <tr>'
striframe+=' <td><img src="images/div_end.gif" width="250" height="4"></td>'
striframe+=' </tr>'
striframe+='</table>'window.frames("maskframeoutiejundesign2").document.write(striframe)
}
writeframe();
//alert(shtml)</script>
</html>