急!! 如何用js 停止页面继续加载? 在服务器端request(“参数”)判断后response.end()可行? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以控制是否加载;给你个例子;条件判断自己写吧<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>测试一下</title> </head> <body> 下面的表格内容就是不出来.<script language="javascript"> mystop();function mystop(){ document.execCommand("stop")} </script> <table width="90%" border="1" cellspacing="0" cellpadding="0"> <tr> <td>111</td> <td>222</td> </tr> <tr> <td>333</td> <td>444</td> </tr> <tr> <td>555</td> <td>666</td> </tr> <tr> <td>777</td> <td>888</td> </tr> </table> </body> </html> 当然,要做到浏览器兼容,还要在mystop函数里做些额外的判断;类似if(!window.attachEvent)之类的.... 把 table 放在 DIV里<DIV id="divTable"><table width="100%" height="70" border="0" cellpadding="0" cellspacing="0"> <tr><td height="7"> 表格是正常显示 </td> </tr> </table> </DIV>用个JavaScript 函数,判断 隐藏 该 DIV ,应该可以。 页面是.shtml 的不与服务器做通信,只能在客户端来判断。3楼的方法可以实现需求,多谢提供方法。只是在源代码里还能看到table。5楼的方法已经想到了,因为不想用此方法才开此贴的,还是要谢谢各位给与帮助,就此结贴。 鼠标移上去样式修改求助 在js文件里引入其他js文件问题,谢谢! 请教一下怎样能同时执行onbeforeunload和onunload?发现前者会阻止后者执行,怎么能都执行? 如何用js实现一个定时器 一个 bug? IE 下的 onmouseout 事件, 请求支援..OR 支招 大家帮忙看一下,我修改的文字闪烁效果为何执行不了? 一个简单的关于层的问题,谁能帮我解释一下呢? 如何让一个网页全屏幕后,不具有右键功能。(js) 如何用javascript制作出浮动面板的效果? 菜鸟问个jquery关于append的问题 这几天让 数组 搞的好晕呀,继续问个数组问题 急急,谁帮我看看
给你个例子;条件判断自己写吧
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>测试一下</title>
</head>
<body>
下面的表格内容就是不出来.
<script language="javascript">
mystop();function mystop(){
document.execCommand("stop")}
</script> <table width="90%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>111</td>
<td>222</td>
</tr>
<tr>
<td>333</td>
<td>444</td>
</tr>
<tr>
<td>555</td>
<td>666</td>
</tr>
<tr>
<td>777</td>
<td>888</td>
</tr>
</table>
</body>
</html>
if(!window.attachEvent)之类的....
<DIV id="divTable">
<table width="100%" height="70" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="7"> 表格是正常显示 </td>
</tr>
</table> </DIV>用个JavaScript 函数,判断 隐藏 该 DIV ,应该可以。