登录
首页 » javascript » JavaScript实现烟花效果

JavaScript实现烟花效果

于 2022-02-11 发布 文件大小:2.04 kB
0 28
下载积分: 2 下载次数: 1

代码说明:

纯JavaScript实现烟花效果,敬请下载学习。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • strut2-2017
    strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017strut2-2017
    2022-01-25 17:58:48下载
    积分:1
  • js获取文件大小
    var  uploadImgSizeLimit=function(target){        alert(target);            //以下校验图片大小            var agent = window.navigator.userAgent;            var isIE=/msie/i.test(agent) && !window.opera;            var fileSize = 0;            if (isIE && !target.files) {             //如果是ie6以下的版本,直接fileSize可以获取到大小                if (agent.indexOf("MSIE 5.0") > 0 || agent.indexOf("MSIE 6.0") > 0) {                    var img = new Image();                    var fname = target.value;                    img.src = fname;                    fileSize = img.fileSize;                }else {                    //ie7版本以上需要打开安全设置                     try {                           var fso, f, fname, fsize;                            var flength = 1000; //设置上传的文件最大值(单位:kb),超过此值则不上传。                            var finame = target.value;                            fso = new ActiveXObject("Scripting.FileSystemObject");                            f = fso.GetFile(finame);//文件的物理路径                            fname = fso.GetFileName(finame);//文件名(包括扩展名)                            fileSize = f.Size; //文件大小(bit)                        }                     catch(e){                                alert(e " 跳出此消息框,是由于你的activex控件没有设置好,"                                 "你可以在浏览器菜单栏上依次选择"                                 "工具->internet选项->"安全"选项卡->自定义级别,"                                 "打开"安全设置"对话框,把"对没有标记为安全的"                                "ActiveX控件进行初始化和脚本运行",改为"启动"即可");                            return false;                     }                }            }else {        //    火狐版本下的文件大小获取                fileSize = target.files[0].size;            }               var size = fileSize / 1024;             alert(size);                                     return false;        };
    2014-09-11下载
    积分:1
  • web作业 数据库与JDBC应用
    案例名称:使用JDBC实现用户维护程序 1、 案例目标及知识点 掌握JDBC的PreparedStatement的使用和批量执行SQL的方法。 2、 案例功能说明 (1)                修改案例Web-611,增加修改用户信息、删除用户、搜索用户的功能;
    2023-08-26 04:15:06下载
    积分:1
  • 486个实用网页特效源文件
    486个实用网页特效源文件
    2014-11-16下载
    积分:1
  • xxgl
    是一个基于extjs、struts、spring、ibatis构建的开源的支持多用户的个人信息管理系统,并且各个功能模块都可以选择性的开启或者停用。 (信息管理是一个基于extjs、struts、spring、ibatis构建的开源的支持多用户的个人信息管理系统,并且各个功能模块都可以选择性的开启或者停用。 )
    2011-12-21 21:04:21下载
    积分:1
  • [John_Resig]_Secrets_of_JS_Ninja
    Secrets of JavaScript Ninja
    2019-07-06 18:44:05下载
    积分:1
  • JSP网站实现了物品显示与购买的过程,使用了MVC+servlet
    JSP网站实现了物品显示与购买的过程,使用了MVC+servlet-JSP Web site display and purchase of goods realized the process of
    2023-04-26 06:40:04下载
    积分:1
  • wedding-master
    想让你的网站看起来更加浪漫吗?那么,这个模板将会是不错的选择,一定可以吸引大批的用户。基于bootstrap4,优雅的设计和整体外观的简洁性让这个网站看起来非常舒服。导航明细,操作流畅,滚动布局。此外,它还包含HTML5,CSS3,jQuery,SASS和其他最新的Web开发技术。(Want your website to look more romantic? So, this template will be a good choice, it will attract a large number of users. Based on bootstrap 4, elegant design and overall simplicity make the site look very comfortable. Navigation details, smooth operation, rolling layout. In addition, it includes HTML5, CSS3, jQuery, SASS and other latest Web development technologies.)
    2020-06-16 21:40:01下载
    积分:1
  • 本例制作一个会滚动的圆盘的小动画,执行例实例后,将创建一个由蓝白两种颜色组成的面板,其上有一个静止的黑色圆盘。当点击start按钮时,圆盘开始滚动,接触到边界时...
    本例制作一个会滚动的圆盘的小动画,执行例实例后,将创建一个由蓝白两种颜色组成的面板,其上有一个静止的黑色圆盘。当点击start按钮时,圆盘开始滚动,接触到边界时反弹,当点击stop按钮时,圆盘停止运动。本实例的知识点有:使用Java2D技术来绘制图形。如何通过线程控制动画。-This example will produce a small rolling disc animation, examples of the implementation of cases, it will create a composition of two colors from the blue panel on which there is a stationary black disk. When you click on start button, the disc began to roll when you come into contact with the boundary rebound, when click the stop button, the disc stop exercising. Knowledge points in this instance are: use Java2D techniques to draw the graph. How to control the animation thread.
    2022-05-27 14:13:26下载
    积分:1
  • 纯JS实现的树控件,能够自由添加子节点实现无限级伸展,使用方便...
    纯JS实现的树控件,能够自由添加子节点实现无限级伸展,使用方便-Pure JS implementation Calendar Control
    2022-04-17 12:38:05下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 46今日下载