$(function(){
$("ul li a").click(function(){
$("ul li a.selected").removeClass("selected");
$(this).addClass("selected");
$("ul.panel li").hide();
$($(this).attr("href")).show();
});
});
a wo #~ ni shite ul.panel li wo id="~" ni suru
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.