目前分類:網頁語法特效~保密類 (8)

瀏覽方式: 標題列表 簡短摘要

語法展示::  http://home.graffiti.net/rbondsa/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<noscript><iframe src=*.html></iframe></noscript>



※ 試按 [檔案 \ 另存新檔] 來儲存這個網頁 ,

這樣是無法得逞的唷^^

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

說明:

 

一些因內容不足的網站,會偷用 frame 的語法,
將您的子網頁嵌在他的網頁框架中,
看似像他本身的網頁,其實是連結您的網頁,
果真如此,心裡一定很不悅,
所以囉,
運用以下的語法,
一旦被別他人偷用 frame 的語法框起來時,
它就會自動另啟視窗,自然就無此惱人的問題了!




將以下程式碼複製,貼在<body>及</body>標籤之間

<script> 
if(self != top) top.location.href = window.location.href;
</script>

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

語法展示::   http://home.graffiti.net/kshrgj/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<form name="board">
<center>
<table BORDER CELLSPACING=0 CELLPADDING=0 COLS=3 BGCOLOR="#006699" >
<tr ALIGN=CENTER>
<td><input type=button value=" 1 "onClick="but1(); window.focus()"></td>
<td><input type=button value=" 2 "onClick="but2(); window.focus()"></td>
<td><input type=button value=" 3 "onClick="but3(); window.focus()"></td>
</tr>
<tr ALIGN=CENTER>
<td><input type=button value=" 4 "onClick="but4(); window.focus()"></td>
<td><input type=button value=" 5 "onClick="but5(); window.focus()"></td>
<td><input type=button value=" 6 "onClick="but6(); window.focus()"></td>
</tr>
<tr ALIGN=CENTER>
<td><input type=button value=" 7 "onClick="but7(); window.focus()"></td>
<td><input type=button value=" 8 "onClick="but8(); window.focus()"></td>
<td><input type=button value=" 9 "onClick="but9(); window.focus()"></td>
</tr>
<tr ALIGN=CENTER>
<td COLSPAN="3" height="35">
<center><table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 WIDTH="100%" >
<tr>
<td ALIGN=CENTER WIDTH="50%"><input type=button value=" 0 "onClick="but0(); window.focus()"></td>
<td ALIGN=CENTER WIDTH="50%"><input type=button value="重撥"onClick="clearit(); window.focus()"></td>
</tr>
</table>
</center>
</td>
</tr>
<tr>
<td ALIGN=CENTER COLSPAN="3"><input type=text name=pn size="10"></td>
</tr>
</table>
</center>
</form>
<SCRIPT LANGUAGE="JavaScript">
var phone_num='';
var timerID = null;
var timerRunning = false;
function but1()
{
phone_num = phone_num + '1';
 chknum();
}
function but2()
{
 phone_num = phone_num + '2';
 chknum();
}
function but3()
{
 phone_num = phone_num + '3';
 chknum();
}
function but4()
{
 phone_num = phone_num + '4';
 chknum();
}
function but5()
{
 phone_num = phone_num + '5';
 chknum();
}
function but6()
{
 phone_num = phone_num + '6';
 chknum();
}
function but7()
{
 phone_num = phone_num + '7';
 chknum();
}
function but8()
{
 phone_num = phone_num + '8';
 chknum();
}
function but9()
{
 phone_num = phone_num + '9';
 chknum();
}
function but0()
{
 phone_num = phone_num + '0';
 chknum();
}
function chknum()
{
if (phone_num=="8888")     //設定密碼
 document.location="http://blog.pixnet.net/como0925" ;     //設定連結網址
if (phone_num=="5566")
 document.location="http://www.yahoo.com.tw";
if (phone_num=="1234")
 document.location="http://www.pchome.com.tw";

document.board.pn.value=phone_num;
}
function clearit()
{
 phone_num = "";
 document.board.pn.value=phone_num;
}
//-->
</script>

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

語法展示::  http://home.graffiti.net/tffgfdgd/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<script language="JavaScript1.1">
<!-- Begin
function right(e) {
if (navigator.appName =='Netscape'&&
(e.which ==3|| e.which ==2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2|| event.button ==3)) {
alert("想偷圖唷??~門都沒有啦!!~>.<~");alert("這可是你自己自找的唷!!");
alert("唉呀!!真是的...不要偷看啦!");alert("唉呀~放心啦!再多聽我說幾句就沒事啦!\n\n不必重新開機啦!");
alert("你不知道嗎??我最恨那種偷圖的人了啦!!");alert("還是你想看原始檔??~告訴你~~~");
alert("也不行啦!!");alert("討厭!!討厭!!討厭!!討厭!!");alert("討厭啦!!!!!!!!!!!!!!");
alert("你就不能不按右鍵嗎??");alert("這些東東是我辛苦做出來的ㄇㄟ!!");
alert("幹什麼一定要複製啊??");alert("真的是被你給氣死了啦!!~>.<~");
alert("沒關係嘛!!~我就看你怎麼複製~~");alert("氣死了!!!!!!!");
alert("你再一次我決對不饒你");alert("聽到沒有????");alert("說呀~快說啊!!!!!!");
alert("不說呀??~~好沒關係~~你狠!!");alert("好啦.....算了.....看你可憐.....");
alert("我就大發慈悲的原諒你好了....");alert("唉.....你真的是沒救了......");
alert("不跟你說了啦!!");alert("我要去睡覺了......");alert("希望您不要再按右鍵唷!!ㄏ.....^^");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//End -->
</script>

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

語法展示::   http://home.graffiti.net/gtwfdgfds/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間

 

<script language="JavaScript">
<!--
function MM_displayStatusMsg(msgStr) { //v2.0
status=msgStr;
document.MM_returnValue = true;
}
function click() {
if (event.button==2) {
alert('按滑鼠右鍵保密功能!');
}
}
document.onmousedown=click
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

語法展示::  http://home.graffiti.net/frfbfbfdfd/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<DIV id=ie5menu onclick=jumptoie5() onmouseout=lowlightie5()
onmouseover=highlightie5()>
<DIV class=menuitems url="http://blog.pixnet.net/como0925" target="_blank">紫蓮の翼</DIV>
<DIV class=menuitems url="http://blog.pixnet.net/como0925">生活小常識</DIV>
<HR>

<DIV class=menuitems url="javascript:history.go(-1)">上 一 頁</DIV>
<DIV class=menuitems url="javascript:history.go(1)">下 一 頁</DIV>
<DIV class=menuitems url="como0925@yahoo.com.tw">寄信給紫蓮</DIV>
<DIV class=menuitems url="javascript:print()">列印本頁</DIV>
<DIV class=menuitems 
onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://blog.pixnet.net/como0925');" 
url="javascript:history.go(0)">設成首頁</DIV>
<DIV class=menuitems 
onclick="window.external.addFavorite('http://blog.pixnet.net/como0925',' 紫蓮の翼  ') ;" 
url="javascript:history.go(0)">加入書籤</DIV></DIV>
<SCRIPT language=JavaScript1.2>                                                                      
document.oncontextmenu=showmenuie5                                                                      
if (document.all&&window.print)                                                                      
document.body.onclick=hidemenuie5                                                                      
</SCRIPT>



將以下程式碼複製,貼在<head>及</head>標籤之間。


<STYLE type=text/css>
A:link {COLOR: #007500; TEXT-DECORATION: none}
A:visited {COLOR: #007500; TEXT-DECORATION: none}
A:hover {COLOR: #800080; TEXT-DECORATION: none}
#ie5menu { BACKGROUND-COLOR: #d6e7e7; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; CURSOR: default; FONT-FAMILY: Verdana; FONT-SIZE: 10pt; LINE-HEIGHT: 17px; POSITION: absolute; VISIBILITY: hidden; WIDTH: 120px}
..menuitems { PADDING-LEFT: 15px; PADDING-RIGHT: 15px}
</STYLE>


<SCRIPT language=JavaScript1.2>
var display_url=0

function showmenuie5(){
ie5menu.style.left=document.body.scrollLeft+event.clientX
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}

function hidemenuie5(){
ie5menu.style.visibility="hidden"
}

function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}

function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="#D6E7E7"
event.srcElement.style.color="black"
window.status=''
}
}

function jumptoie5(){
if (event.srcElement.className=="menuitems")
window.location=event.srcElement.url
}
</SCRIPT>

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

為方便您複製程式碼,此網頁特效示範就免了


將以下程式碼複製,貼在<body >標籤裡面。


 oncontextmenu=window.event.returnValue=false  onselectstart=event.returnValue=false

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()

語法展示::  http://home.graffiti.net/gggfghf/


請用IE6.0或更新版本觀看語法特效展示

將以下程式碼複製,貼在<body>及</body>標籤之間。

<script language="javascript">                                                                                                                                                                                                       
<!--                                                                                                                                                                                                       
function click() {                                                                                                                                                                                                       
if (event.button==2) {                                                                                                                                                                                                       
window.external.addFavorite('http://blog.pixnet.net/como0925','『紫蓮の翼   』')                                                                                                                                                                                                       
}                                                                                                                                                                                                       
}                                                                                                                                                                                                       
document.onmousedown=click                                                                                                                                                                                                       
// -->                                                                                                                                                                                                       
</script>

uuiop6623 發表在 痞客邦 PIXNET 留言(0) 人氣()