js笔记
孔哈哈
这个作者很懒,什么都没留下…
展开
-
js中刷新页面较快的方法
三个是比较快的window.location.reload();window.history.go(0);document.execCommand('Refresh');让页面自动刷新方法<meta http-equiv="refresh" content="1">//1秒刷新一次页面<meta http-equiv="refresh" content="1...转载 2019-04-11 20:52:46 · 1844 阅读 · 0 评论 -
礼花特效
js文件(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==='object'&&typeof module==='object')module.exports=factory();else if(typeof define==='function'&&defi...原创 2019-04-26 19:53:35 · 561 阅读 · 0 评论 -
点击爱心文字特效
需要引入jquery.min.js<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><body> </body><script s...原创 2019-04-26 19:57:41 · 415 阅读 · 0 评论 -
绿色粒子背景特效
代码结构index.html<!doctype html><html lang="en" class="no-js"> <head> <meta charset="UTF-8" /> <title>linhongcun</title> <meta ...转载 2019-04-26 20:19:34 · 602 阅读 · 0 评论