`
hanyh
  • 浏览: 228841 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
要求:表格隔行变色,鼠标移上去高显。我们的列表使用了统一的规范,以前还使用了prototype的库,避免和jquery冲突 var $j=jQuery.noConflict(); $j(document).ready(function() { $j("#listBody table tr").hover(function(){$j(this).addClass("over");},function(){$j(this).removeClass("over");}); $j("#listBody ...
要求:实现打击菜单自动张开相应的子菜单,并收起其他菜单 $(document).ready(function() { $('.sub_menu_title').each(function(i) { $(this).bind('click',function() { $(".navigator_menu:visible").hide(); $(this).find('.navigator_menu').show(); }); }); 菜单: <div class="sub_me ...
要求:根据动态生成的列表的id作为参数获取调用ajax方法,显示相应的描述信息 1,javascript函数 $(document).ready(function() { $('.desc').each(function(i) { $(this).bind('click',function() { var id='interp-'+i; $(this).find('.interp').attr({ 'id': id }); var sstr = "#"+id; ...
Global site tag (gtag.js) - Google Analytics