zoukankan
html css js c++ java
新浪搜索TabPage
代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>新浪搜索TabPage</title> <meta name="Generator" content="EditPlus" /> <meta name="Author" content="" /> <meta name="Keywords" content="" /> <meta name="Description" content="" /> <style type=text/css> table,form,img{ border:none; padding:0 0 0 0; margin:0 0 0 0; } /**链接:鼠标响应隐藏下划线**/ .redlink a:link,.redlink a:visited,.whitelink a:link,.whitelink a:visited,.yellowlink a:link,.yellowlink a:visited,.orangelink a:link,.orangelink a:visited { text-decoration:underline; } .redlink a:active,.redlink a:hover,.whitelink a:active,.whitelink a:hover,.yellowlink a:active,.yellowlink a:hover,.orangelink a:active,.orangelink a:hover { text-decoration:none; } .whitelink a:link,.whitelink a:visited,.whitelink a:active,.whitelink a:hover,.white { color:#fff; } .orangelink a:link,.orangelink a:visited,.orangelink a:active,.orangelink a:hover { color:#fc0; } td,p,li,input,select {font-size:12px;} .b1 {border:1px solid #000000} .l140 {line-height:140%} .L15 {line-height:150%} .L17 {line-height:170%} .F7 {font-size:7px;} .s01 {border:1px;border-style:inset;} A:link {color:#00007f;} A:visited {color:#65038e;} A:active {color:#ff0000;} A:hover {color:#ff0000;} A.a03:link,A.a03:visited {text-decoration:none;color:#000000;} A.a03:active,A.a03:hover {text-decoration:none;color:#ff0000;} A.an02:link {text-decoration:none;color:#1110AC} A.an02:visited {text-decoration:none;color:#65038e} A.an02:active,A.an02:hover {text-decoration:none;color:#ff0000} A.a251:link,A.a251:visited {text-decoration:none;color:#ffffff;} A.a251:active,A.a251:hover {text-decoration:underline;color:#ffffff;} /**导航样式**/ #mainnav { border-left: 1px #000 solid; border-right: 1px #000 solid; } .mainnav-r { border-right: 1px #000 solid; } /**导航连接**/ .mainnav a:link,.mainnav a:visited { color:#000; } /**链接:鼠标响应显示下划线**/ .navred a:link,.navred a:visited,.mainnav a { text-decoration:none; } .navred a:active,.navred a:hover { text-decoration:underline; } /**红色链接**/ .mainnav a:active,.mainnav a:hover ,.navred a:link,.navred a:visited,.navred a:active,.navred a:hover,.red ,.reddot,.redlink a:link,.redlink a:visited,.redlink a:active,.redlink a:hover { color:#f00; } /**导航连接end**/ .smsimg img{border:1px #e71516 solid;} .dot7 ,.reddot{font-size:7px;} .lh19{line-height:19px} .lh17{line-height:17px} </style> </head> <body> <style type="text/css"> .s_on{background:url(http://image2.sina.com.cn/home/iask/v2_nav_a.gif) no-repeat top; background-color:#ffc52e; font-weight:bold; color:#fff;} .s_of{background:url(http://image2.sina.com.cn/home/iask/v2_nav_a.gif) no-repeat center; background-color:#f7f7f7;} .m_on{background:url(http://image2.sina.com.cn/home/iask/v2_nav_a.gif) no-repeat bottom; cursor:pointer; font-weight:bold;} .bk_n{height:22px; 100%; font-size:14px;} .bk_n1{height:22px; 50%; font-size:14px;} .eg{color:#999999; font-size:12px;} .pt2{padding-top:2px;} .pl5{padding-left:5px;} .blbr1d9{border-left:1px solid #d9d9d9; border-right:1px solid #d9d9d9;} </style> <script type="text/javascript"> function s_chg(td_now, fn) { s_td_1.className = s_td_2.className = s_td_3.className = s_td_4.className = s_td_6.className = s_td_7.className = "s_of"; td_now.className = "s_on"; if(td_now.id == "s_td_1") { lc.style.display = "none"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'> <input type=button value='提 问' style='60px;' onClick='ask(f);'>"; if(fn.i_k.value=="例:餐厅,酒吧") fn.i_k.value = ""; fn.i_k.name = "k"; fn.action = "http://iask.com/s"; } if(td_now.id == "s_td_3") { lc.style.display = "none"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'>"; if(fn.i_k.value=="例:餐厅,酒吧") fn.i_k.value = ""; fn.i_k.name = "k"; fn.action = "http://iask.com/n"; } if(td_now.id == "s_td_4") { lc.style.display = "none"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'>"; if(fn.i_k.value=="例:餐厅,酒吧") fn.i_k.value = ""; fn.i_k.name = "k"; fn.action = "http://p.iask.com/p"; } if(td_now.id == "s_td_6") { lc.style.display = "none"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'>"; if(fn.i_k.value=="例:餐厅,酒吧") fn.i_k.value = ""; fn.i_k.name = "k"; fn.action = "http://m.iask.com/g"; } if(td_now.id == "s_td_5") { lc.style.display = "none"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'>"; if(fn.i_k.value=="例:餐厅,酒吧") fn.i_k.value = ""; fn.i_k.name = "k"; fn.action = "http://iask.com/v"; } if(td_now.id == "s_td_2") { lc.style.display = "none"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'>"; if(fn.i_k.value=="例:餐厅,酒吧") fn.i_k.value = ""; fn.i_k.name = "q"; fn.action = "http://blog.iask.com/b"; } if(td_now.id == "s_td_7") { lc.style.display = "block"; lc.style.paddingTop = "0"; btn1.height = "25"; btn1.innerHTML = "<input id=btn_i type=submit value='搜 索' style='60px;' onClick='f.submit();return false;'>"; fn.i_k.name = "key"; fn.action = "http://bendi.iask.com/r.php"; fn.i_k.value="例:餐厅,酒吧"; fn.location.value="例:广州中山路"; } } function mouse_on(td_now) { if(td_now.className == "s_on") return false; else td_now.className = "m_on"; } function mouse_of(td_now) { if(td_now.className == "s_on") return false; else td_now.className = "s_of"; } </script> <script language="javascript"> function iask_ck(fn) { if(fn.i_k.value == "") { if(fn.btn_i.value == "提 问") { window.open("http://iask.sina.com.cn/"); return false; } } } function ask(fn) { if(fn.k.value == "") { window.open("http://iask.sina.com.cn/"); return false; } else { window.open("http://iask.sina.com.cn/question/ask_new_2.php?title=" + fn.k.value); } } </script> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="1"></td></tr> </table> <table border="0" width="286" cellpadding="0" cellspacing="0"> <tr bgcolor="#f9f9fa" valign="top"> <td height="30" class="blbr1d9"> <table border="0" width="100%" height="27" cellpadding="0" cellspacing="0" background="http://image2.sina.com.cn/home/iask/v2_nav_b.gif"> <tr align="center"> <td width="8"></td> <td width="45" id="s_td_1" class="s_on" onClick="s_chg(this,f);" onMouseOver="mouse_on(this);" onMouseOut="mouse_of(this);">网页</td> <td width="45" id="s_td_3" class="s_of" onClick="s_chg(this,f);" onMouseOver="mouse_on(this);" onMouseOut="mouse_of(this);">新闻</td> <td width="45" id="s_td_7" class="s_of" onClick="s_chg(this,f);" onMouseOver="mouse_on(this);" onMouseOut="mouse_of(this);">本地</td> <td width="45" id="s_td_4" class="s_of" onClick="s_chg(this,f);" onMouseOver="mouse_on(this);" onMouseOut="mouse_of(this);">图片</td> <td width="45" id="s_td_6" class="s_of" onClick="s_chg(this,f);" onMouseOver="mouse_on(this);" onMouseOut="mouse_of(this);">MP3</td> <td width="45" id="s_td_2" class="s_of" onClick="s_chg(this,f);" onMouseOver="mouse_on(this);" onMouseOut="mouse_of(this);">博客</td> <td> </td> </tr> </table> </td> </tr> <tr bgcolor="#f9f9fa"> <form name=f action=http://iask.com/s target=_blank onSubmit="return iask_ck(this)"> <td height="21" align="center" valign="top" class="blbr1d9"> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="2"></td></tr> <tr valign="top"> <td width="15"></td> <td><input type="text" id="i_k" name="k" size="10" class="bk_n" onClick="javascript:if(this.value=='例:餐厅,酒吧')this.value='';"></td> <td width="110" id="lc" class="pl5" style="display:none;"><input type="text" name="cl" id="location" size="5" class="bk_n" onClick="javascript:if(this.value=='例:广州中山路')this.value='';"></td> <td width="15"></td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr align="center" valign="middle"> <td id="btn1" height="25"><input id=btn_i type=submit value='搜 索' style='60px;'> <input type=button value='提 问' style='60px;' onClick='ask(f);'></td> </tr> </table> </td> <input type="hidden" name="fsh_s"> </form> </tr> </table> </body> </html>
[Ctrl+A 全选 提示:你可先修改部分代码,再点运行代码]
青苹果Web应用商店
https://webapp.taobao.com/
PHP/ASP.NET/ASP/UCHOME/DISCUZ! X系列网站开发,详细需求联系
QQ:8511978
查看全文
相关阅读:
dstat
centos安装指定版本的golang
APP防CC为什么复杂
火狐浏览器的书签如何自动在新窗口打开?
linux jdk版本随时切换
centos7 yum安装java环境
kangle清除缓存接口
CC攻击原理及防范方法
GET 和 POST 的区别 以及为什么 GET请求 比 POST请求 更快
HTTP缓存机制
原文地址:https://www.cnblogs.com/Dicky/p/518682.html
最新文章
python orm create and update auto_now=True的触发
python 富文本编辑器内容导出为pdf
支付宝app支付和h5支付 python代码实现
rest_framework listview的执行顺序
使用jwt时,使用自己的用户类校验
orm 高并发保证数据一致性
代码块
JMM和volatile
JVM之堆参数
Java线程八锁
热门文章
JVM之堆体系结构
Java值传递
线程不安全(Arraylist,HashSet,HashMap)和写时复制
Lambda表达式
多线程卖票
Java多线程操作同一份资源
浏览器缓存,状态码200与304
linux如何彻底删除一个用户
SQlite数据库常用操作
kangle自定义错误码
Copyright © 2011-2022 走看看