设为首页 友情链接
在线留言 发表文章
加入收藏 广告联系

刺猬首页

| 专案技术 | 网络技术 | 图形图象 | 网络编程 | 网页设计 | 操作系统 | 服务器 | 技术白皮书 | 在线实验室 | 刺猬论坛 |
小说专版  | 数据库 | 设计赏析 | 存储频道 | 网络安全 | 私服架设 |  Solaris | 网站评估 | PC维护技巧 | 下载中心 | 博 客 |
专   题: | Linux | java | cisco | 防病毒 | 刀片 | SOA | iscsi | ASP.NET | SQL | Oracle |
您现在的位置: IT公社 IT community >> 网络编程 >> VB.NET >> 教程正文 用户登录 新用户注册
专 题 栏 目
最 新 热 门
最 新 推 荐
相 关 文 章
有关JSP/Servlet的重定向…
JSP/Servlet/JSF:标签库…
PHP has encountered an…
如何利用PHP和CSS改变网…
用PHP和AJAX创建RSS聚合…
PHP实现多web服务器共享…
用apachetoolbox轻松搞定…
Linux下PHP连接MS SQLSe…
基于PHP和AJAX创建RSS聚…
讲述PHP中Session的概念
  CSS+VBScript制作的酷酷光照效果         ★★★★★
CSS+VBScript制作的酷酷光照效果
 

<html>

<head>

<title>Untitled</title>

</head>

<body bgcolor="Black">

<div id="myLightObject" style="position: relative; height: 400px; width: 400px; top: 10px; left: 0px;

color: White; filter: light">

<center>

黑夜给了我一双眼睛,<br>

而我却用它来寻找光明,<br>

园林晴昼春谁主<br>

暖律潜催,幽谷暄和,黄鹂翩翩,乍迁芳树

<p>

春花秋月何时了,往事知多少<br>

小楼昨夜又东风<br>

故国不堪回首月明中。<br>

雕栏玉砌应犹在,只是朱颜改。

</p>

<p>

问君能有几多愁,<br>

恰似一江春水向东流。<br>

CSS滤镜与VBScript结合运用的效果<br>

利用CSS的Light滤镜模拟移动的光锥<br>

</p>

用VBScript捕捉鼠标的移动,令光锥射向也跟着移动

</center>

</div>

<script language="VBScript">

Option Explicit

sub window_OnLoad()

call myLightObject.filters.light(0).addambient(0,0,255,30)

call myLightObject.filters.light(0).addcone(400,400,200,100,100,200,204,200,80,10)

end sub

sub document_onMouseMove()

call myLightObject.filters.light(0).MoveLight(1,window.event.x,window.event.y,0,1)

end sub

</script>

</body>

</html>

</td>

</tr>

</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>

<td height="1" bgcolor="cccccc"><img src="/img/blank.gif" width="1" height="1"></td>

</tr>

<tr>

<td height="30" bgcolor="#F6F6F6"> <img src="/img/rtg_btn_print.gif" width="16" height="15">

<a href="javascript:window.print();">打印本文</a> | <img src="/img/feedback.gif" width="13" height="12"><a href="/sendmail.asp?id=1711">

推荐朋友</a> | <img src="/img/rtg_btn_save.gif" width="17" height="16" align="absmiddle">

<a href="javascript:OnSave();">收藏文章</a> | <img src="/img/windows_close.gif" width="12" height="12">

<a href="javascript:window.close()">关闭窗口</a></td>

</tr>

</table></td>

<td width="3"> </td>

</tr>

</table>

<table width="766" border="0" align="center" cellpadding="0" cellspacing="0" background="/img/page-bg.gif" bgcolor="#FFFFFF">

<tr>

<td height="30"> </td>

<td rowspan="2" align="center" valign="top"><br><SCRIPT language=javascript>showbanner(5,5);</SCRIPT><br>

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr>

<td height="25"> <strong>相关文章</strong></td>

</tr>

<tr>

<td height="1" bgcolor="cccccc"><img src="/img/blank.gif" width="1" height="1"></td>

</tr>

<tr>

<td class="title-list"><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010328/200103281478.shtml>网页中轻松实现三维字体<SPAN class=aritcle-date> (2001年3月28日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010113/200101131206.shtml>Dreamweaver4中CSS的定义<SPAN class=aritcle-date> (2001年1月13日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010111/200101111182.shtml>CSS2参考之十一<SPAN class=aritcle-date> (2001年1月11日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010111/200101111181.shtml>CSS2参考之十<SPAN class=aritcle-date> (2001年1月11日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010111/200101111180.shtml>CSS2参考之九<SPAN class=aritcle-date> (2001年1月11日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010111/200101111179.shtml>CSS2参考之八<SPAN class=aritcle-date> (2001年1月11日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010111/200101111178.shtml>CSS2参考之七<SPAN class=aritcle-date> (2001年1月11日)</SPAN></A><br/><br/><img src=/img/about_no.gif width=7 height=7> <A href=/article/20010111/200101111177.shtml>CSS2参考之六<SPAN class=aritcle-date> (2001年1月11日)</SPAN></A><br/><br/> </td>

</tr>

</table></td>

<td width="1" rowspan="3" bgcolor="#CCCCCC"></td>

<td width="149" rowspan="3" valign="top" bgcolor="#F6F6F6"> <p></p></td>

<td> </td>

</tr>

<tr>

<td width="3"></td>

<td width="3"> </td>

</tr>

</table>

<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td><img src="/img/bottom_gb_3.gif" width="766" height="21"></td>

</tr>

</table>

</body>

</html>



频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。

原始作者:佚名 录入时间:2007-1-7 17:59:36
信息来源:不详 投稿信箱:itqoo@126.com
教程录入:itqoo    责任编辑:itqoo 
  • 上一个教程:

  • 下一个教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    - 关于我们 - 合作伙伴 - 友情链接 - 广告刊登 - 投稿热线 - 在线留言版权声明联系方式 -
    IT公社版权所有 粤ICP备05127012号
    Copyrigh@2005-2006 itqoo.com.Inc All Rights Reserved  推荐分辨率 1024*768
    联系站长:E-Mail:itqoo@126.com     MSN:urchincc@hotmail.com    QQ:点击这里给我发消息
    特别感谢:亿太网络提供空间支持