[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
说明:
需要下载:http://cn.yimg.com/script/hp/ygcss.js 和
http://cn.yimg.com/a/cn/js/pu_nocap_cn_04.js
http://cn.yimg.com/i/cn/gb.css
http://cn.yimg.com/i/cn/mus/ygcss.js
新建一个:http://cn.biz.yahoo.com/slideshow/spaceid_slideshow.html
该页面内容为:
<html>
<head><title>空页面</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<link rel=stylesheet type="text/css" href="http://cn.yimg.com/i/cn/gb.css">
<script type="text/javascript" src="http://cn.yimg.com/i/cn/mus/ygcss.js"></script>
<style type="text/css">
<!--
A:hover {
COLOR: #ff0033
}
.yghd {
FONT-SIZE: 14px
}
.yghdw {
FONT-SIZE: 14px; COLOR: white
}
.yge {
FONT-FAMILY: arial
}
.ygw {
COLOR: white
}
.ygg {
COLOR: #777
}
.spcr {
MARGIN: 0px 0px 2px
}
.navlink {
FONT-WEIGHT: bold; COLOR: #455e87
}
.navlink:link {
COLOR: #455e87; TEXT-DECORATION: none
}
A.navlink:hover {
COLOR: #ff3300; TEXT-DECORATION: underline
}
.navlink:visited {
COLOR: #455e87; TEXT-DECORATION: none
}
.tlink {
FONT-SIZE: 14px
}
.title {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #003399
}
.title2 {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ffffff
}
.title3 {
FONT-SIZE: 16px; FONT-FAMILY: 黑体; TEXT-DECORATION: none
}
.title4 {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #666666; BACKGROUND-COLOR: #e0e0ef
}
.title5 {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #666666; BACKGROUND-COLOR: #99bcdd
}
.2line {
BORDER-TOP: #ffffff 1px solid; MARGIN-BOTTOM: 5px; BORDER-BOTTOM: #99bcdd 1px solid
}
.back1 {
BORDER-RIGHT: #99bcdd 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #99bcdd 1px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; BORDER-LEFT: #99bcdd 1px solid; PADDING-TOP: 4px; BORDER-BOTTOM: #99bcdd 1px solid; BACKGROUND-COLOR: #dce9f7
}
.back2 {
BORDER-RIGHT: #aaaaaa 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #aaaaaa 1px solid; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; BORDER-LEFT: #aaaaaa 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #aaaaaa 1px solid
}
.line01 {
BORDER-RIGHT: #99bcdd 1px solid
}
.wlink {
COLOR: #ffffff
}
.wlink:link {
COLOR: #ffffff
}
A.wlink:hover {
COLOR: #ffff00
}
.wlink:visited {
COLOR: #ffffff
}
BODY {
MARGIN: 0px
}
A:visited {
COLOR: #2c42dc
}
.line01{border-right:1px solid #99BCDD;}
.navlink{
color:#455E87;
font-weight: bold;
font-family: "宋体";
font-size: 12px;
}
.navlink{color:#455E87; font-weight: bold;}
.navlink:link{color:#455E87; text-decoration: none;}
a.navlink:hover{color:#ff3300; text-decoration: underline;}
.navlink:visited{color:#455E87; text-decoration: none;}
.ygw{
color:white;
font-family: "宋体";
font-size: 12px;
}
.lcslink {
font-family: "宋体";
font-size: 12px;
color: 2C42DC;
}
a.lcslink:hover {
color: E90303;
}
.lcllink {
font-family: "宋体";
font-size: 14px;
color: 2C42DC;
}
a.lcllink:hover {
color: E90303;
}
.lcswenzi {
font-family: "宋体";
font-size: 12px;
color: 003399;
}
.lclwenzi {
font-family: "宋体";
font-size: 14px;
font-weight: bold;
color: 003399;
}
.titlink {
font-family: "黑体";
font-size: 18px;
color: 003399;
}
a.titlink:hover {
color: E90303;
}
-->
</style>
<script language="javascript">
function do_crazy(){}
function do_wmad(){}
function do_ticket() {}
function do_all(){
do_crazy();
do_wmad();
do_ticket();
}
</script>
<script xmlns="" type="text/javascript" language="javascript">
<!--
function sbar(st) {st.style.backgroundColor = "#FFFFFF";}
function cbar(st) {st.style.backgroundColor = "";}
-->
</script>
<base target=_blank>
<script language="javascript">
function buildImgTagForRd()
{
var newRdElm = document.createElement("img");
newRdElm.id = 'imgTagForRd';
newRdElm.src = '';
newRdElm.width = '0';
newRdElm.height = '0';
newRdElm.border = '0';
document.body.appendChild(newRdElm);
}
function p(rdPath)
{
if(rdPath == null || rdPath == '')
{
return true;
}
else
{
var newRdElm = document.getElementById('imgTagForRd');
var pre = 'http://cn.rd.yahoo.com';
imgUrl = 'http://cn.yimg.com/sp/biz/r.gif';
newRdElm.src = pre + rdPath + '*' + imgUrl;
return true;
}
}
</script>
</head>
<SCRIPT language=javascript>
function URLEncode(plaintext )
{
var SAFECHARS = "0123456789" + // Numeric
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" + // Alphabetic
"abcdefghijklmnopqrstuvwxyz" +
"-_.!~*'()"; // RFC2396 Mark characters
var HEX = "0123456789ABCDEF";
var encoded = "";
for (var i = 0; i < plaintext.length; i++ ) {
var ch = plaintext.charAt(i);
if (ch == " ") {
encoded += "+"; // x-www-urlencoded, rather than %20
} else if (SAFECHARS.indexOf(ch) != -1) {
encoded += ch;
} else {
var charCode = ch.charCodeAt(0);
if (charCode > 255) {
encoded += "+";
} else {
encoded += "%";
encoded += HEX.charAt((charCode >> 4) & 0xF);
encoded += HEX.charAt(charCode & 0xF);
}
}
} // for
return encoded;
};
function rd_clk(path,ur) {
var newurl;
if (document.images){
ur = URLEncode(ur);
newurl="http://cn.rd.yahoo.com/home/hp/"+ path + 'url='+ur+"/" + "*" + "http://cn.yimg.com/search/yisou/clk.gif";
(new Image()).src=newurl;
}
return true;
}
</SCRIPT><body bgcolor=white>
<center>
<center>
<!-- SpaceID=96897190 loc=Z noad -->
</center>
<!-- http://cn.rd.yahoo.com/SIG=127k7dt1h/M=243461.
4561014.5728778.2632428/D=cn_biz/S=96897190:PU/EXP=1115712475/A=1386164/R=0/* -->
<script language=javascript>
var PUpageraw = "96897190:PU";
var PUpagetmp = PUpageraw.match(/([0-9]+)\:([A-Za-z0-9]+)/);
var PUpage = PUpagetmp[1];
var PUprop = "cn_biz";
</script>
<script language=javascript src="http://cn.yimg.com/a/cn/js/pu_nocap_cn_04.js">
</script>
</body>
</html>