点击flash实现跳转 前端笔记
<div style="position:absolute;top:0;left:0;bottom:0;right:0;display:block;width:100%;height:expression(this.parentNode.scrollHeight);filter:alpha(opacity=0);...
<div style="position:absolute;top:0;left:0;bottom:0;right:0;display:block;width:100%;height:expression(this.parentNode.scrollHeight);filter:alpha(opacity=0);...
1.选择器 $("#myId"); // 多少还是会逊色于... document.getElementById("myId"); 2.选择器 var $products = $("div.products"); // 慢 var $products = $(...
nodejs下用npm安装express有时候几个小时不动(npm install express) ,或者报错解决办法(npm install express -g) 换一些镜像吧 http://registry.npmjs.org/ //测试可用 http://r.cnpmjs.org/ http://regis...
nodejs的安装 1.下载 https://nodejs.org/download/ https://nodejs.org/dist/v0.12.5/x64/node-v0.12.5-x64.msi//如果下载慢,可以通过迅雷 2.安装 安装成功后,进入命令行,输入 node -v //查看版本 node conso...
<!doctype html> <html><head><title>Love</title><meta charset="utf-8" /> <!--> ...
附链接:有时间看看 http://coffeedeveloper.github.io/typing.js/demo.html
方法1: <script type="text/javascript"> var a=2.1512131231231321; document.write("原来的值:"+a+"<br>"); document.write("两位小数点:"+a.toFixed(2)+"&...
点击回车按钮执行表单提交 || 点击回车按钮执行提交按钮的点击事件 $(function () { $('input').keyup(function (event) { if (event.keyCode == "13") { $("#login...
html 代码 <form action="login.php" method="post" id="mylogin"> <div class="login_info"><div id="login_error"></div>&l...
把时间转换成时间戳 <script type="text/javascript"> function transdate(Time){ var date=new Date(); date.setFullYear(Time.substring(0,4)); da...