利用QQ的ipaddress获取IP和省市(php版&javascript版)
利用QQ的ipaddressIP和省市(php版&javascript版)
http://fw.qq.com/ipaddress
利用QQ的ipaddressIP和省市(php版&javascript版)
http://fw.qq.com/ipaddress
http://code.google.com/p/kissy/
http://tangram.baidu.com/tangram/index.html
http-equiv="refresh"content="10;url=跳转的页面"
10表示间隔10秒刷新一次 更多
一般网站加入收藏夹或者书签直接加链接
<a href="javascript:window.external.AddFavorite ('http://www.ajaxcn.net', '云飞扬IT博客')">加入收藏夹</a> |
如果一个页面多处用到可以用一个函数,兼容ie,firefox如下:
Google Closure Compiler地址:http://closure-compiler.appspot.com/home
简单使用方法:
把要压缩的js复制进去压缩,点default.js即可保存
?View Code CSHAP//by http://ww.ajaxcn.net function ChangeC(b) { var c = document.getElementById("id"), a = c.innerHTML; if (b.innerHTML.toLowerCase() == "小写") { b.innerHTML = "大写"; if (a != null) c.innerHTML = a.toLowerCase() } else { b.innerHTML = "小写"; if (a != null) c.innerHTML = a.toUpperCase() } };
收藏几个 HTML 5的教程
1. Create a simple web page layout with HTML 5!
2. HTML 5 Visual Cheat Sheet by Woork
3. Web Designers’ Browser Support Checklist
javascript minu convert hour
this is a simple javascript minu convert hour sample,i from 0 hour to count 24 hour. I haven't test it,just mark it ! source:
这是一个简单分和小时转换计算,从0小时计算到24小时。我还未测试,源码如下:
<input id="txtSearch" type="text" class="class1" value="请输入关键字" onfocus="if(this.value=='请输入关键字'){this.value='';}" onblur="if(this.value==''){this.value='请输入关键字';}" /> |
Javascript 在线排版,美化代码,自动缩进,自动排版,格式化
http://www.javascriptkit.cn/
这个站打不开了
移到本站目录下http://www.ajaxcn.net/jsformat/index.html