Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OnGameModeInit() {
- var id = $(this).attr("id");
- for (var y = 1; y < 3; y++) {
- $.each(ImgSource, function(i, val) {
- $(Source).append("<div class=classecss id=card" + y + i + "><img class=imgclass id=img" + y + i + " src=" + val + " />");
- });
- }
- $(Source + " div").click(onPlayerOpenCard);
- onGameModeShuffle();
- GetRecordOnInit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement