Created
June 30, 2012 06:39
-
-
Save satour/3022686 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$("a#get_name").one('click', function() { | |
var yamada_name = $("p#yamada_name").text() | |
$("span#subject01_result").text(yamada_name) | |
}); | |
$("a#add_sakurako").one('click', function() { | |
var sakurako = '<li id="sakurako">櫻子</li>' | |
$("ul#member_list").append(sakurako) | |
}); | |
$("a#add_himawari").one('click', function() { | |
var himawari = '<li id="himawari">向日葵</li>' | |
$("ul#member_list").append(himawari) | |
}); | |
$("a#remove_akari").one('click', function() { | |
$("li#akari").remove() | |
}); | |
$("a#change_visible_momo").bind('click', function() { | |
var time = 1 | |
$("p#stealth_momo").toggle(time) | |
}); | |
$("a#change_header_html").one('click', function() { | |
$("h2").each(function(index) { | |
$(this).text("【" + $(this).text() + "】") | |
}); | |
}); | |
});; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment