论坛: 网站建设 标题: HTML及DHTML源代码集 复制本贴地址    
作者: Aoming [aoming]    版主   登录
=======================
图片渐渐显示(逐点淡入)
=======================

第一步:把如下代码加入<body>区域中
<SCRIPT FOR=window EVENT=onLoad LANGUAGE=vbscript>
image1.filters.item(0).apply()
image1.filters.item(0).transition = 12
image
1.Style.visibility = ""
image1.filters(0).play(2.0)
</SCRIPT>


第二步:把如下代码加入<body>区域中
<img src="swimming.gif" border=5 id="image1"
style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=23);">

地主 发表时间: 11/10 21:28

回复: Aoming [aoming]   版主   登录
=================
禁止使用鼠标右键
=================
<script language="JavaScript">
<!--

if (window.Event) 
document.captureEvents(Event.MOUSEUP); 

function nocontextmenu() 
{
even
t.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>

B1层 发表时间: 11/10 21:28

回复: hackerkill [hackerkill]   论坛用户   登录
弹出广告页面的代码是什么》?

B2层 发表时间: 11/10 22:35

回复: lzf1981721 [lzf1981721]   论坛用户   登录
可以在详细一点么

B3层 发表时间: 11/13 13:40

回复: realpope [realpope]   论坛用户   登录
在多弄一点啊

B4层 发表时间: 11/13 18:15

回复: Aoming [aoming]   版主   登录
大家一起充实之不是更好吗?

B5层 发表时间: 12/17 01:33

回复: zjhacker [zjhacker]   论坛用户   登录
好吧!

HTML-会移动的文字




  基本语法

  <marquee> ... </marquee>
  <marquee>啦啦啦,我会移动耶!</marquee>

  文字移动属性的设置

  方向 <direction=#> #=left, right
  <marquee direction=left>啦啦啦,我从右向左移!</marquee> <P>
  <marquee direction=right>啦啦啦,我从左向右移!</marquee>

  方式 <bihavior=#> #=scroll, slide, alternate
  <marquee behavior=scroll>啦啦啦,我一圈一圈绕着走!</marquee> <P>
  <marquee behavior=slide>啦啦啦,我只走一次就歇了!</marquee> <P>
  <marquee behavior=alternate>啦啦啦,我来回走耶!</marquee>
  啦啦啦,我只走一次就歇了

  循环 <loop=#> #=次数;若未指定则循环不止(infinite)
  <marquee loop=3 width=50% behavior=scroll>啦啦啦,我只走 3 趟哟!</marquee> <P>
  <marquee loop=3 width=50% behavior=slide>啦啦啦,我只走 3 趟哟!</marquee> <P>
  <marquee loop=3 width=50% behavior=alternate>啦啦啦,我只走 3 趟哟!</marquee>
  啦啦啦,我只走 3 趟哟!

  啦啦啦,我只走 3 趟哟!

  啦啦啦,我只走 3 趟哟!

  

  速度 <scrollamount=#>
  <marquee scrollamount=20>啦啦啦,我走得好快哟!</marquee>

  
  外观(Layout)设置

  对齐方式(Align) <align=#> #=top, middle, bottom
  <font size=6>
  <marquee align=# width=400>啦啦啦,我会移动耶!</marquee>
  </font>
  对齐上沿、中间、下沿。

  底色 <bgcolor=#>
  #=rrggbb 16 进制数码,或者是下列预定义色彩:
  Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
  Fuchsia, White, Green, Purple, Silver, Yellow, Aqua
  <marquee bgcolor=aaaaee>啦啦啦,我会移动耶!</marquee>
  啦啦啦,我会移动耶!

  面积 <height=# width=#>
  <marquee height=40 width=50% bgcolor=aaeeaa>
  啦啦啦,我会移动耶!
  </marquee>
  啦啦啦,我会移动耶!

  

  空白(Margins)<hspace=# vspace=#>
  ********************************************<br>
  嗨,
  <marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle>啦啦啦,我会移动耶!</marquee>
  大家好!<br>
  ********************************************




B6层 发表时间: 04-01-22 20:42

论坛: 网站建设

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号