語法展示:: http://home.graffiti.net/dcbgfhfd/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<head>及</head>標籤之間。
<script language="JavaScript">
<!--
var gt = unescape('%3e');
var popup = null;
var over = "Launch Pop-up Navigator";
popup = window.open('', 'popupnav', 'width=500,height=200,resizable=1,scrollbars=auto');
if (popup != null) {
if (popup.opener == null) {
popup.opener = self;
}
popup.location.href = '038-2.htm';
}
-->
</script>
在 width=500,height=200 中修改視窗的大小 |
在 popup.location.href = '038-2.htm'; 中修改視窗的位置 |
okrfnv 發表在 痞客邦 留言(0) 人氣()
語法展示:: http://home.graffiti.net/ffddwwww
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
<script language="JavaScript">
<!--
function fullwin(){
window.open("http://blog.pixnet.net/como0925","","fullscreen,scrollbars")
}
-->
</script>
<form>
<input type="button" onClick="fullwin()" value="全螢幕開啟">
</form>
</center>
將 window.open("http://blog.pixnet.net/como0925","","fullscreen,scrollbars") 修改成特效頁實際的網頁名稱
okrfnv 發表在 痞客邦 留言(0) 人氣()
語法展示:: http://home.graffiti.net/ghfhdfgd/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<head>及</head>標籤之間。
<script language="JavaScript">
<!--
function Hello()
{
window.open('http://blog.pixnet.net/como0925','','width=250,height=150,scrollbars=no,resizable=no')
}
-->
</script>
在 window.open('031-2.htm','','width=250,height=150,scrollbars=no,
resizable=no') 中修改要連結的網頁及連結視窗的顯示大小
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
<form>
<input type="BUTTON" value="按我ㄚ"
onClick="Hello()" >
</form>
</center>
在 value="按我ㄚ" 中修改按鈕的文字
okrfnv 發表在 痞客邦 留言(0) 人氣()
特效解說:
網站搬家無人知?使用此特效能將舊址愛用者在短短一秒內馬上帶往新網址
將以下程式碼複製,貼在<head>及</head>標籤之間。
<script language="JavaScript">
<!--
location.href= ('http://blog.pixnet.net/como0925');
-->
</script>
在 location.href= ('http://blog.pixnet.net/como0925'); 中修改立即轉換的網址
okrfnv 發表在 痞客邦 留言(0) 人氣()
語法展示:: http://home.graffiti.net/kjghfwww/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<head>及</head>標籤之間。
<script language=JavaScript>
<!--
var myfar;
var mytitle;
myfar="http://blog.pixnet.net/como0925";
mytitle="紫蓮の翼";
function favority() {
if (navigator.appName!="Netscape"){
window.external.AddFavorite(myfar, mytitle);}
else{
window.location = myfar;
}}
-->
</script>
在 myfar="http://blog.pixnet.net/como0925"; 中修改自己網站的網址 |
在 mytitle="紫蓮の翼"; 中修改自己網站的站名 |
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
<A HREF="JavaScript:favority()">按我可將本站加到我的最愛</A>
</center>
okrfnv 發表在 痞客邦 留言(0) 人氣()
語法展示:: http://home.graffiti.net/gdgfchjc/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<head>及</head>標籤之間。
<script language="JavaScript">
<!--
var limit="0:10"
if (document.images){
var parselimit=limit.split(":")
parselimit=parselimit[0]*60+parselimit[1]*1
}
function beginrefresh(){
if (!document.images)
return
if (parselimit==1)
window.location.reload()
else{
parselimit-=1
curmin=Math.floor(parselimit/60)
cursec=parselimit%60
if (curmin!=0)
curtime=curmin+"分"+cursec+"秒後重新整理本網頁!"
else
curtime=cursec+"秒後重新整理本網頁!"
window.status=curtime
setTimeout("beginrefresh()",1000)
}
}
window.onload=beginrefresh
-->
</script>
在 var limit="0:10" 中修改您想要重新整理的時間
okrfnv 發表在 痞客邦 留言(0) 人氣()
語法展示:: http://home.graffiti.net/asdfrsf5555g/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
網頁資料載入中,請稍候......
<form name="loading">
<input name="chart" size="29" style="background-color:white;color:#FF0000; font-family:Arial;font-weight:bolder;border-style:none;padding:0px"><br><input name="percent" size="2">
</form>
</center>
<script language="JavaScript">
<!--
var bar = 0
var line = "||"
var amount ="||"
count()
function count(){
bar= bar+3
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "http://blog.pixnet.net/como0925";}
}
-->
</script>
在 {window.location = "http://blog.pixnet.net/como0925";} 中修改設定時間後所要開啟的網頁
okrfnv 發表在 痞客邦 留言(0) 人氣()
語法展示:: http://home.graffiti.net/sadsadsa_2009/
請用IE6.0或更新版本觀看語法特效展示
將以下程式碼複製,貼在<body>及</body>標籤之間。
<center>
<form name="redirect">
3秒後您就會進入教學頁<br>
倒數計時<input type="text" size="1" name="redirect2"></input>秒</font>
<script language="JavaScript">
<!--
var targetURL="http://blog.pixnet.net/como0925"
var countdownfrom=3
var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}
countredirect()
-->
</script>
</form>
</center>
在 var targetURL="226-2.htm" 中修改時間到後要前往的位置 |
在 var countdownfrom=10 中修改等待的時間 |
okrfnv 發表在 痞客邦 留言(0) 人氣()