//点击时根据<a href="" name="column"> 中的name来控制div 的显隐
$(document).ready(function(){
$("a[name='column']").click(function(){
var a = this.id;
$("div[class='hword2 fz14']").each(function(){
var a = $(this).attr("name");
if( $(this).attr("name")==a){
$(this).show();
}else{
$(this).hide();
}
});
});
})
posted on 2014-11-11 16:40
藤本蔷薇 阅读(141)
评论(0) 编辑 收藏