国际主要股票指数
上证指数
深证指数
沪深300指数
道琼斯工业指数
纳斯达克
恒生指数
日经指数
伦敦指数
台湾加权
新加坡
记得在做PR查询程序时,一直无法将百度用frame引入网页,老是自动弹出新窗口。
今日无意中看到了一个特别的处理方法,介绍给大家参考参考。
<script>
function QueryString()
{
var name,value,i;
var str=location.href;
var num=str.indexOf("?")
str=str.substr(num+1);
var arrtmp=str.split("&");
for(i=0;i < arrtmp.length;i++){
num=arrtmp[i].indexOf("=");
if(num>0){
name=arrtmp[i].substring(0,num);
value=arrtmp[i].substr(num+1);
this[name]=value;
}
else {this[name]=0}
}
}
var Request=new QueryString();
word=Request["q"];
</script>
<html>
<head><TITLE>网络搜霸</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT>var location='’;</SCRIPT>
</head>
<script>
document.write(’<frameset name="zymenu" cols="236,*" rows="*" border="0" framespacing="0" frameborder="NO">’);
document.write(’<frame src="left.asp?q=’ + word + ‘" name=leftzy framespcing=0 noresize>’);
document.write(’<frameset name="leftmenu" rows="0,0,0,0,0,0,*" cols="*">’);
document.write(’<frame src="others.asp?p=’ + word + ‘" name="othersinfo">’);
document.write(’<frame src="http://search.cn.yahoo.com/search?p=’ + word + ‘&ei=gb2312&source=ysearch_web_hp_button&z=&meta=all" name="yahooinfo">’);
document.write(’<frame src="http://nisearch.163.com/search.php?q=’ + word + ‘" name="163info">’);
document.write(’<frame src="http://www.sogou.com/sohu?query=’ + word + ‘" name="sohuinfo">’);
document.write(’<frame src="http://www.iask.com/s?k=’ + word + ‘" name="sinainfo">’);
document.write(’<frame src="http://www.baidu.com/baidu?wd=’ + word + ‘&cl=3" name="baiduinfo">’);
document.write(’<frame src="http://www.google.cn/search?q=’ + word + ‘&ie=gb&oe=UTF-8&hl=zh-CN&client=aff-avalanche&forid=1" name="googleinfo">’);
document.write(’</frameset>’);
document.write(’</frameset><noframes></noframes>’);
</script>
<noframes><body>Sorry, your browser seems not to support frames.
</body> </noframes>
</html>
以上引用souyes的代码。关于 frame 引入自己网页的处理方法,大家可以在平时浏览诸如大旗网之列的网站上参考一下,许多处理方式还是挺有意思的啊。
参考地址见:
看看老外的便携式马桶,还挺方便的,也很环保哦。呵呵。


可以挂在车后面,路途中,需要时,可以随时停车使用。


呵呵,看起来挺舒服的哦,不够售价不低, 要 $59.95 。
假如你爱动手,不妨自己动手做一个,看起来不难。:)
Powered by WordPress