?? 11c.htm
字號:
<html>
<head>
<title>圖形永遠(yuǎn)在下方</title>
<meta http-equiv="目錄類型" content="文本/html; 字符集=gb2312">
<style type="text/css">
<!--
a{font-style:normal;text-decoration:none;color:white}
a:hover {BACKGROUND:red;font-style:normal;text-decoration:none;color:yellow}
a:active {font-style:normal;text-decoration:none;color:yellow;}
.white { color: #FFFFFF}
table { font-size: 9pt}
-->
</style>
<link rel="stylesheet" href="style.css">
</head>
<body bgcolor="#009900" topmargin="0" leftmargin="0">
<a name="top"></a>
<form name="form">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#009900">
<td colspan="3" height="18"> </td>
</tr>
<tr>
<td bgcolor="#009900" width="18"></td>
<td align="center" bgcolor="#FFFFFF" valign="top"> <br>
<table width="56%" border="0" cellspacing="0" cellpadding="0" height="355">
<tr>
<td rowspan="2" width="16" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="white" style="FONT-SIZE: 11pt;">
<tr bgcolor="#336699" bordercolor="#336699">
<td style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double;" height="70"><strong><a href="11.htm">演<br>
<br>
示</a></strong></td>
</tr>
<tr bordercolor="#009900" bgcolor="#009900">
<td style="BORDER-RIGHT: double; BORDER-TOP: double; BORDER-LEFT: double; BORDER-BOTTOM: double" height="70"><strong><a href="11c.htm">源<br>
代<br>
碼</a></strong></td>
</tr>
</table>
</td>
<td rowspan="2" width="8" bgcolor="#009900"> </td>
<td align="center" style="BORDER-RIGHT: double; BORDER-TOP: double; FONT-SIZE: 12pt; BORDER-LEFT: double; BORDER-BOTTOM: double" bordercolor="#009900" valign="top">
<script language="JavaScript">
<!--hide
function view(form){
msg=open("","DisplayWindow","status=1,left=0,top=0,height=320,width=790,");msg.document.write(form.code2.value);
}
function CodeOut(form){
var
txt1="<html><title>效果演示</title><head></head><body onblur=window.close() onmouseover=javascript:close()>";
txt=""+form.a.value+""+form.b.value+""+form.c.value+"";
txt+=""+form.d.value+""+form.e.value+""+form.f.value+"";
txt+=""+form.g.value+""+form.h.value+""+form.i.value+"";
txt+=""+form.j.value+""+form.k.value+""+form.l.value+"";
txt+=""+form.m.value+"";
txt2="</body></html>";
form.Code.value=txt;
form.code2.value=txt1 + txt + txt2;
}
<!-->
</script>
<input type="hidden" name="code2">
<div id="Layer1" style="position:absolute; width:207px; height:173px; z-index:1; visibility: hidden">
<textarea name="a" cols="40" rows="0" wrap="VIRTUAL"><script language=JavaScript>
function setVariables() {
imgwidth=</textarea>
<textarea name="c" cols="40" rows="0" wrap="VIRTUAL">;
imgheight=</textarea>
<textarea name="e" cols="40" rows="0" wrap="VIRTUAL">;
if (navigator.appName == "Netscape") {
horz=".left";
vert=".top";
docStyle="document.";
styleDoc="";
innerW="window.innerWidth";
innerH="window.innerHeight";
offsetX="window.pageXOffset";
offsetY="window.pageYOffset";
}
else {
horz=".pixelLeft";
vert=".pixelTop";
docStyle="";
styleDoc=".style";
innerW="document.body.clientWidth";
innerH="document.body.clientHeight";
offsetX="document.body.scrollLeft";
offsetY="document.body.scrollTop";
}
}
function checkLocation() {
objectXY="branding";
var availableX=eval(innerW);
var availableY=eval(innerH);
var currentX=eval(offsetX);
var currentY=eval(offsetY);
x=availableX-(imgwidth+30)+currentX;
y=availableY-(imgheight+20)+currentY;
evalMove();
setTimeout("checkLocation()",10);
}
function evalMove() {
eval(docStyle + objectXY + styleDoc + horz + "=" + x);
eval(docStyle + objectXY + styleDoc + vert + "=" + y);
}
</script>
<script language=JavaScript>
<!--Hide from non JavaScript browsers
an = 3
var ran = Math.random();
var talet = Math.round(ran * (an-1))+1;
function create() {
this.src = ''
}
b = new Array()
for(var i=1; i<=an; i++) { b[i] = new create() }
b[1].src = "'http://</textarea>
<textarea name="g" cols="40" rows="0" wrap="VIRTUAL">'"
b[2].src = "'http://</textarea>
<textarea name="i" cols="40" rows="0" wrap="VIRTUAL">'"
b[3].src = "'http://</textarea>
<textarea name="k" cols="40" rows="0" wrap="VIRTUAL">'"
var vis = "";
vis = vis+b[talet].src+" target='_blank'"
//-->
</script>
<div id=branding
style="LEFT: 211px; POSITION: absolute; TOP: 143px; Z-INDEX: 2">
<script language=JavaScript>
document.write("<a href="+vis+"><img src='</textarea>
<textarea name="m" cols="40" rows="0" wrap="VIRTUAL">' border='0' alt='這是一個隨機(jī)鏈接條,看看今天去哪里?'></a>");
</script>
</div></textarea>
</div>
<br>
<b>圖形永遠(yuǎn)在下方</b>
<hr width="92%" size="1" align="center">
<table cellspacing="0" cellpadding="0" width="81%">
<tr>
<td colspan="2" height="25">圖形文件名:
<input type=text name="l" onFocus="this.select()" onMouseOver="this.focus()" class="pt9" size="38">
</td>
</tr>
<tr>
<td colspan="2" height="25">圖形寬:
<input type=text name="b" onFocus="this.select()" onMouseOver="this.focus()" class="pt9" size="8">
(實(shí)際數(shù)值減25)</td>
</tr>
<tr>
<td colspan="2" height="25">圖形高:
<input type=text name="d" onFocus="this.select()" onMouseOver="this.focus()" class="pt9" size="8">
(實(shí)際數(shù)值減15) </td>
</tr>
<tr>
<td colspan="2" height="25">隨機(jī)鏈接http//:
<input type=text name="f" onFocus="this.select()" onMouseOver="this.focus()" class="pt9" size="35">
</td>
</tr>
<tr>
<td colspan="2" height="25">隨機(jī)鏈接http//:
<input type=text name="h" onFocus="this.select()" onMouseOver="this.focus()" class="pt9" size="35">
</td>
</tr>
<tr>
<td colspan="2" height="25">隨機(jī)鏈接http//:
<input type=text name="j" onFocus="this.select()" onMouseOver="this.focus()" class="pt9" size="35">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="button" value="產(chǎn)生源代碼" onClick="CodeOut(this.form);" name="button">
</td>
</tr>
<tr>
<td colspan="2" height="20">注釋:放在<body****>里</td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="1" onFocus="this.select()" onMouseOver="this.focus()" size="52" style="BACKGROUND-COLOR: #009900;" class="pt9" value="onload="setVariables(); checkLocation();"">
</td>
</tr>
<tr>
<td height="20" colspan="2">注釋:放在<body>與</body>之間</td>
</tr>
<tr>
<td colspan="2">
<textarea name="Code" onFocus="this.select()" onMouseOver="this.focus()" cols="50" style="BACKGROUND-COLOR: #009900;" wrap="VIRTUAL" rows="9" class="pt9"></textarea>
</td>
</tr>
</table>
<br>
</td>
</tr>
<tr>
<td height="20" class="white" bgcolor="#009900">當(dāng)前位置:<a href="../../index.htm">首
頁</a>→<a href="../index.htm">JavaScript</a>→<a href="index.htm#11">圖形特效</a>→圖形永遠(yuǎn)在下方</td>
</tr>
</table>
<br>
</td>
<td bgcolor="#009900" width="18"></td>
</tr>
<tr bgcolor="#009900">
<td></td>
<td align="center" height="35"> <font color="#FFFFFF">··萬旭網(wǎng)站工作室 設(shè)計(jì)發(fā)布··</font>
</td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -