window.location.hostname ;window.location.pathname;方法:通过window.location.pathname获得浏览器URL的路径部分。得到路径的第一个字段。[].indexOf || (Array.prototype.indexOf = function(v){ for(var i = this.length; i-- && this[i] !== v;); return i; });//ie不支持indexof扩展一下 var url={ ary1:["index.html","... Read More
posted @ 2012-09-19 19:27
break_happy
Views(418)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号