Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 给你的网站加上雪花效果!适合DZ所有版本

[复制链接]
*笨蛋 发表于 2010-5-24 21:21:24 | 显示全部楼层 |阅读模式
插件发布
插件名称: 给你的网站加上雪花效果!
插件来源:
适用版本: Discuz! X1
语言编码: UTF8简体 
最后更新时间:
插件作者: *笨蛋
插件简介: js写的雪花特效~让你的网站也充满冬季的精灵吧~
在静态html网页中<head></head>之间加入以下代码,并将附件中所有文件传至网站跟目录即可!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5.         <title>Snow Demo</title>           
  6.     <style>
  7.         body {
  8.             padding:0; margin:0;
  9.             background: #3B3B3B;
  10.         }
  11.         #demo {
  12.             display: block;
  13.             margin: 25px auto;
  14.             border: 1px solid #000;
  15.         }
  16.     </style>
  17. </head>
  18. <body>  
  19. <img id="demo" src="demo.jpg" alt="snowy landscape">
  20. <!-- for test only -->
  21. <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

  22. <!-- If you add scripts before closing body tag, it will not prevent page
  23. from rendering, thus making your website load faster -->
  24. <script src="jsized.snow.min.js" type="text/javascript"></script>        
  25. <script>
  26.     /**
  27.      * This function takes 2 arguments
  28.      * First is the path to the directory with snowflake images
  29.      * Second is the maximum number of snowflakes, please do not
  30.      * set this number above 60 as it will impact the performance
  31.      */
  32.     createSnow('', 60);
  33. </script>

  34. </body>
  35. </html>
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
ilei365 发表于 2010-5-24 21:23:20 | 显示全部楼层
你今天发这么多
回复

使用道具 举报

爬爬同学 发表于 2010-5-24 21:30:09 | 显示全部楼层
囧...效果是咋样滴啊 ?
回复

使用道具 举报

 楼主| *笨蛋 发表于 2010-5-24 21:32:50 | 显示全部楼层
回复 2# ilei365 的帖子


    呵呵!!!有好东西就要分享跟大家哈!!
回复

使用道具 举报

soso0_0 发表于 2010-12-13 14:09:58 | 显示全部楼层
http://blog.crazyfrom.com/happy-new-year.html   里的效果更不错的说
回复

使用道具 举报

山东之东 发表于 2010-12-13 14:34:07 | 显示全部楼层
学习一下,谢谢楼主
回复

使用道具 举报

huxiaoping 发表于 2010-12-14 20:29:01 | 显示全部楼层
不错,支持下
回复

使用道具 举报

soonewcn 发表于 2010-12-18 14:51:22 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-17 00:17 , Processed in 0.185597 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表