1// JavaScript Document 2$(function() { 3 $('#post img') 4 .each(function(){ 5 $(this).wrap("<span class=\"post-imgbox\"></span>"); 6 }) 7 8 $('#post h3:first').addClass("mT0"); 9}); 10 11 12 13// ITEM PAGEãERORR ($KAZ[] == "0") 14$(function(){ 15 $("#cartin_form").submit(function(){ 16 17 if ($("#select_cool").length > 0) { // #select_coolãåå¨ããå ´å 18 if ($("#select_cool").val() == "Y") { 19 $(".COO").val("Y"); 20 } else { 21 $(".COO").val(""); 22 } 23 } 24 25 //ã¨ã©ã¼ã®åæå 26 $("p.error").remove(); 27 $("dl dd").removeClass("error"); 28 var item_count = 0; 29 30 $("#cartin_form select").filter(".validate").each(function(){ 31 if ($(this).val() != ""){ 32 item_count = 1; 33 } 34 }) ; 35 36 // æ¡¶ããªãã調ã¹ãã麹å¸è²©èããªãã調ã¹ããé ãã¼ã¸ãããªãã調ã¹ã 37 var oke_flag = 0 ; 38 var kouji_flag = 0 ; 39 40 var sake_flag = "" ; 41 if ( $("#sake_page").val()=="Y" ){ sake_flag = "Y" ; } 42 43 $("#cartin_form .NAM").each(function(){ 44 var temp_arr = $(this).val().split("æ¨æ¡¶"); 45 if (temp_arr[0] == "æ¡¶è·äººã®æä½ã"){ 46 oke_flag = 0; // â æ¡¶ã®ã¢ã©ã¼ããåºãã«ã¯ããã0以å¤ã«ãã 47 } 48 if ( $(this).val().match(/å¸è²©è/) ) { 49 kouji_flag = 1; // â å¸è²©èã®ã¢ã©ã¼ããåºãã«ã¯ããã0以å¤ã«ãã 50 } 51 }) ; 52 53 54 var msg = "" ; 55 if (item_count == 0){ 56 $(".sub-button").prepend("<p class='error' style= \"color:red\">æ°éãæå®ãã¦ä¸ãã</p>"); 57 return false; 58 59 } else if(oke_flag){ // æ¡¶ããã£ãå ´åã®ç¢ºèªã¡ãã»ã¼ã¸ 60 msg = "æ¡¶è·äººã®æä½ãæ¨æ¡¶ã¯ãåæ³¨çç£ã®ããç´2ã¶æï½3ã¶æã»ã©ãæéãããã ãã¦ããã¾ãã\n\nä»ã®ååãä¸ç·ã«ã注æãããå ´åã\nãã¹ã¦æ¨æ¡¶ã¨åæçºéã¨ãªãã¾ãã\n\nåå²çºéãã叿ã®å ´åã«ã¯ã\nãææ°ã§ããæ¨æ¡¶ã¨ã¯å¥ã«\nãæ³¨æããã ãã¾ããããé¡ãç³ãä¸ãã¾ãã\n\nè²·ãç©ããã«å ¥ãã¦ãããããã§ããï¼" ; 61 if (confirm(msg)){ 62 63 //ã¨ã©ã¼ã®å ´åã®å¦ç 64 if($("p.error").size() > 0){ 65 $('html,body').animate({ scrollTop: $("p.error:first").offset().top-400},'slow'); 66 $("p.error").parent().addClass("error"); 67 return false; 68 } 69 70 } else { 71 return false ; 72 } 73 74 75 } else if(kouji_flag){ // 麹ããã£ãå ´åã®ç¢ºèªã¡ãã»ã¼ã¸ 76 msg = "ãã®éº¹ã¯å¾æ¥ã®éº¹ã¨ã¯ç°ãªããå¸è²©ã®éº¹èï¼å³åèï¼ã使ã£ã¦ä½ããã麹ã«ãªãã¾ããããã¾ã§åæ§ãå³åãçé ã塩麹ä½ãã«ã使ãããã ãã¾ãã\n\nãã®ã¾ã¾ãè²·ãç©ã«ã´ã«å ¥ãã¦ãããããã§ããï¼" ; 77 if (confirm(msg)){ 78 79 //ã¨ã©ã¼ã®å ´åã®å¦ç 80 if($("p.error").size() > 0){ 81 $('html,body').animate({ scrollTop: $("p.error:first").offset().top-400},'slow'); 82 $("p.error").parent().addClass("error"); 83 return false; 84 } 85 86 } else { 87 return false ; 88 } 89 } else if (sake_flag=="Y"){ 90 if (confirm("ã客æ§ã¯äºåæ³ä»¥ä¸ã§ããããï¼")){ 91 92 } else { 93 return false; 94 } 95 } 96 97 }) ; 98 99 $("#cartin_form_set").submit(function(){ 100 101 var sake_flag = $("#sake_page").val() ; 102 103 if (sake_flag=="Y"){ 104 if (confirm("ã客æ§ã¯äºåæ³ä»¥ä¸ã§ããããï¼")){ 105 106 } else { 107 return false; 108 } 109 } 110 111 }) ; 112 113 114 115 // æåãã£ã¼ã表示 116 $(".graph-view-btn div").click(function() { 117 $(this).addClass("on"); 118 $(this).siblings().removeClass("on"); 119 }); 120 $(".graph-view-btn #btn-graph-view").click(function() { 121 $(".item-list-graph").show() ; 122 }); 123 $(".graph-view-btn #btn-item-view").click(function() { 124 $(".item-list-graph").hide() ; 125 }); 126 127})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.