2008年11月7日

彻底领悟javascript中的exec与match方法(转)

摘要: 阅读本文之前,请先看下面一道题:题目17:Read the following javascript code: var someText="web2.0 .net2.0";var pattern=/("w+)("d)".("d)/g;var outCome_exec=pattern.exec(someText);var outCome_matc=someText.match(pattern);W... 阅读全文

posted @ 2008-11-07 16:03 疯狂的木头 阅读(156) 评论(0) 推荐(0) 编辑

Javascript多级菜单(转)

摘要: 一、开篇一直都苦于找不到合适的菜单,最近自己做了一个,感觉收获不小,拿出来分享。先看效果: #container{margin:0px auto;height:50px;font-size:14px;font-family:Arial;font-weight:bold;} #container ul,#container ul li{padding:0px;margin:0px;list-styl... 阅读全文

posted @ 2008-11-07 15:32 疯狂的木头 阅读(864) 评论(0) 推荐(0) 编辑

导航