jQuery タブパネル
- 午前中はjQueryによるタブパネルを自習した。
$(function(){ $(".panel li:not("+$("ul.tab li a.selected").attr("href")+")").hide(); $('.tab li a').click(function(){ $('.tab li a.selected').removeClass('selected'); $(this).addClass('selected'); $('.panel li').hide(); $($(this).attr('href')).show(); return false; }) });
- 午後:企業サイトプレゼンテーション2回目