<div id="userinfo">
<div id="nav">
<a href="space.php?action=viewpro&uid=1" class="dropmenu" id="creditlist" onmouseover="showMenu(this.id)">HaTE</a> </div>
<p>
状态:
<span id="loginstatus"><a href="member.php?action=switchstatus" title="切换到隐身模式" onclick="ajaxget(this.href, 'loginstatus');doane(event);">正常模式</a></span>,
您上次访问是在: <em>2008-1-10 20:31</em>
<a href="search.php?srchfrom=4000&searchsubmit=yes">查看新帖</a>
<a href="member.php?action=read" id="ajax_read" onclick="ajaxmenu(event, this.id)">标记已读</a>
</p>
</div> <div id="forumstats">
<p>
今日: <em>8</em>, 昨日: <em>2</em>, 最高日: <em>86</em> <a href="digest.php">精华区</a>
<a href="rss.php?auth=FSppwVNBYA%2FIjCao1DOrlvO%2FhH" title="RSS 订阅全部版块" target="_blank"><img src="http://images.5d6d.com/dz60/common/xml.gif" alt="RSS 订阅全部版块" /></a> </p>
<p>主题: <em>191</em>, 帖子: <em>965</em>, 会员: <em>14</em>, 欢迎新会员 <cite><a href="space-username-csaa.html">csaa</a></cite></p>
<div style="clear: both;float: right; text-align: right; padding-right: 5px;">
////////////////////////////////////以下为想隐藏的代码////////////////////////<script type="text/javascript">
function validate_google(theform) {
if(theform.lr.value == 1) {
theform.q.value='site:kym.5d6d.com '+ theform.q.value;
}
}function submitFormWithChannel(channelname) {
document.gform1199971494.channel.value=channelname;
document.gform1199971494.submit();
return;
}
</script>
<form name="gform1199971494" id="gform1199971494" method="get" action="http://www.google.cn/search?" target="_blank" onSubmit="validate_google(this)">
<input type="hidden" name="client" value="aff-discuz">
<input type="hidden" name="ie" value="GB2312">
<input type="hidden" name="oe" value="GB2312">
<input type="hidden" name="hl" value="zh-CN">
<input type="hidden" name="channel" value="search">
<div onclick="javascript:submitFormWithChannel('logo')" style="cursor:pointer;float: left;width:70px;height:23px;background: url(http://images.5d6d.com/orig/google.png) !important;background: none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.5d6d.com/orig/google.png', sizingMethod='scale')"><img src="http://images.5d6d.com/orig/common/none.gif" border="0" alt="Google" /></div>
<input size="10" name="q" id="q" maxlength="255" value="" type="text">
<select name="lr">
<option value="0">网页搜索</option>
<option value="1">站内搜索</option>
</select>
<button type="submit" name="sa" value="true">搜索</button>
</form></div>
</div>
</div>
///////////////////////////////////////////////////////////////////////////////////////gform后面的数字是随机的
刷新一次改变一次
请问如何隐藏掉<form></form>里面的内容呢?
<div id="nav">
<a href="space.php?action=viewpro&uid=1" class="dropmenu" id="creditlist" onmouseover="showMenu(this.id)">HaTE</a> </div>
<p>
状态:
<span id="loginstatus"><a href="member.php?action=switchstatus" title="切换到隐身模式" onclick="ajaxget(this.href, 'loginstatus');doane(event);">正常模式</a></span>,
您上次访问是在: <em>2008-1-10 20:31</em>
<a href="search.php?srchfrom=4000&searchsubmit=yes">查看新帖</a>
<a href="member.php?action=read" id="ajax_read" onclick="ajaxmenu(event, this.id)">标记已读</a>
</p>
</div> <div id="forumstats">
<p>
今日: <em>8</em>, 昨日: <em>2</em>, 最高日: <em>86</em> <a href="digest.php">精华区</a>
<a href="rss.php?auth=FSppwVNBYA%2FIjCao1DOrlvO%2FhH" title="RSS 订阅全部版块" target="_blank"><img src="http://images.5d6d.com/dz60/common/xml.gif" alt="RSS 订阅全部版块" /></a> </p>
<p>主题: <em>191</em>, 帖子: <em>965</em>, 会员: <em>14</em>, 欢迎新会员 <cite><a href="space-username-csaa.html">csaa</a></cite></p>
<div style="clear: both;float: right; text-align: right; padding-right: 5px;">
////////////////////////////////////以下为想隐藏的代码////////////////////////<script type="text/javascript">
function validate_google(theform) {
if(theform.lr.value == 1) {
theform.q.value='site:kym.5d6d.com '+ theform.q.value;
}
}function submitFormWithChannel(channelname) {
document.gform1199971494.channel.value=channelname;
document.gform1199971494.submit();
return;
}
</script>
<form name="gform1199971494" id="gform1199971494" method="get" action="http://www.google.cn/search?" target="_blank" onSubmit="validate_google(this)">
<input type="hidden" name="client" value="aff-discuz">
<input type="hidden" name="ie" value="GB2312">
<input type="hidden" name="oe" value="GB2312">
<input type="hidden" name="hl" value="zh-CN">
<input type="hidden" name="channel" value="search">
<div onclick="javascript:submitFormWithChannel('logo')" style="cursor:pointer;float: left;width:70px;height:23px;background: url(http://images.5d6d.com/orig/google.png) !important;background: none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://images.5d6d.com/orig/google.png', sizingMethod='scale')"><img src="http://images.5d6d.com/orig/common/none.gif" border="0" alt="Google" /></div>
<input size="10" name="q" id="q" maxlength="255" value="" type="text">
<select name="lr">
<option value="0">网页搜索</option>
<option value="1">站内搜索</option>
</select>
<button type="submit" name="sa" value="true">搜索</button>
</form></div>
</div>
</div>
///////////////////////////////////////////////////////////////////////////////////////gform后面的数字是随机的
刷新一次改变一次
请问如何隐藏掉<form></form>里面的内容呢?
解决方案 »
- 类似于QQ空间页面关闭提示代码。FF,IE兼容
- 【【【很多ActiveX都有这两个属性_cx,_cy,不知道什么意思!!!】】】
- mozzila 如何使用xmlhttp?
- 如何不让图片拖动放到<Iframe>中去(<Iframe>是可编辑状态),也不让点击鼠标右键,谢谢!比较急,在线等!!
- 如何用setTimeOut来反复执行一个JSP页 来实现对数据库的实时监控
- 如何用javascript编写判断全是填空题的测试题
- 昨天失恋放分,今天失恋放代码!!!快了收了,改写出来,新鲜的很
- 哪位有完全锁住右键的js代码?
- html脚本怎么样调用API呢
- 绘制pie饼图
- onload="loadswf()有定义可还是不行呀。
- IE 与 火狐的防刷新 差异(大仙们急啊。。不燃就没工作啦)
function show(){
var objs=document.getElementsByTagName("form")
for(var i=0;i<objs.length;i++)
{
if(/^gform/.test(objs[i].name.toString()))
{
objs[i].style.display="none"
}
}
}
</script>
<body onload="show()">