2020-02-12 21:11:07  

video{position:relative;padding-bottom:56 25%;height:0;overflow:hidden;} videoiframe, videoobject, videoembed{position:absolute;top:0;left:0;width:100%;height:100%;}

2018-08-25 09:02:42  

layui自带写法data elem checked 如果为true 就是选中js写法var check = document getElementById("checkboxID") checked;if(check =

2018-04-14 15:10:31  

parse_url()该函数可以解析 URL,返回其组成部分。它的用法如下:array parse_url(string $url)此函数返回一个关联数组,包含现有 URL

2017-11-29 13:13:48  

<div class="musicinfo" id="musicinfo"> <audio id="musicid" src=" statics mp3 PartOfYourWorld-TheLittleMermaid mp3" preload="

2017-11-15 21:56:55  

alert($(window) height()); 浏览器时下窗口可视区域高度alert($(document) height()); 浏览器时下窗口文档的高度alert($(document b

2017-11-08 17:55:04  

页面加载时绑定按钮点击事件$(function(){$(" 按钮id") click(function(){refresh();});}); 点击按钮调用的方法functionrefresh(){windo

2017-11-08 15:25:55  

jquery验证邮箱function checkSubmitEmail() {if ($(" email") val() == "") { $(" confirmMsg") html("<font color=& 39;red& 3

2017-08-03 16:16:29  

<scripttype="text javascript"> 平台、设备和操作系统varsystem={win:false,mac:false,xll:false}; 检测平台varp=navigator platform;al

2017-07-09 23:21:04  

<divid="test"style="border:solid1px f00;">< div><scripttype="text javascript"><!-- 作者:凌陈亮www lingchenliang com(QQ:5740481

2017-05-10 11:06:54   jquery时时获取系统时间,补齐0

unction current(){ var d=new Date(),str=& 39;& 39;; year=d getFullYear(); month=d getMonth()+1; if(month<10){ month=& 39