发新话题
打印

[推荐] 网页常用特效代码

网页常用特效代码

网页常用特效代码

 

 

定位透明flash代码

<EMBED style="LEFT: -190px; WIDTH: 750px; POSITION: absolute; TOP: 110px; HEIGHT: 900px" align=right src=http://luguo.16789.net/s-helpSite/domName/luguo/200613118285733132.swf width=600 height=800 type=application/octet-stream wmode="transparent" quality="high" ;;></EMBED>

网页中插入音乐代码

<bgsound src="http://www.mountain-scripting.nl/scripts20/my-choice-hello.mid" balance=0 loop=99 volume=0><!--Hier de midi of de wave die je wilt gebruiken-->

23种页面效果代码

<META http-equiv="Page-Enter" CONTENT="RevealTrans(Duration=4,Transition=23)">

A网页中插入固定文本框代码

< align=center><TEXTAREA rows=8 cols=60></TEXTAREA>&nbsp;<BR></P>

B破解图片防盗链方法

下面代码加在图片地址的前面:

 http://www.mysea.net/download/js/get163.asp?url=

C网页中插入全屏网页代码

<TABLE style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD style="WORD-WRAP: break-word">
<DIV style="LEFT: -128px; WIDTH: 1000px; POSITION: relative; TOP: 10px"><IFRAME marginWidth=0 marginHeight=0 src="
http://asp.533.net//qqt3366/xgwb/560flash/korea3/pinerc.htm" frameBorder=0 width=1000 scrolling=no height=2800></IFRAME></DIV></TD></TR></TBODY></TABLE>

D网页中插入全屏边框背景代码:

<TABLE id=table1 style="LEFT: -128px; WIDTH: 1000px; POSITION: relative; TOP: 0px" cellSpacing=0 align=center background=http://www.fernandaguimaraes.com.br/a_quatro_maos/quando_me_faltas5.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE id=table1 style="LEFT: -60px; WIDTH: 1000px; POSITION: relative; TOP: 0px" cellSpacing=30 border=0>

<TABLE id=table1 style="LEFT: -128px; WIDTH: 1000px; POSITION: relative; TOP: 0px" cellSpacing=0 align=center background=http://mljy.16789.net/domName/mljy/2007112211851660.gif border=0>
<TBODY>
<TR>
<TD>

E禁止右键代码


第一种:

<SCRIPT language=JavaScript>
if (navigator.appName.indexOf("Internet Explorer") != -1)
document.onmousedown = noSourceExplorer;
function noSourceExplorer()
{
if (event.button == 2 | event.button == 3)
{
alert("不让你看,嘿嘿!去一个神秘的地方吧!");
location.replace("
http://bbs.zggs.gov.cn/post.php?action=newthread&fid=52&extra=page%3D1
");
}
}
</SCRIPT>

第二种:

</script>
<script language="JavaScript">
<!--
 
if (window.Event)
  document.captureEvents(Event.MOUSEUP);
 
function nocontextmenu()
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
 
function norightclick(e)
{
 if (window.Event)
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
 
}
 
document.oncontextmenu = nocontextmenu;  // for IE5+
document.onmousedown = norightclick;  // for all others
//-->
</script>

TOP

发新话题