1$(document).ready(function () { 2 App.SelectBox02.init(); 3}); 4 5//----------------------------------------------------------------------------------------- 6//select box(related site box) 7//----------------------------------------------------------------------------------------- 8App.SelectBox02 = function(){ 9 var self; 10 var $relatedTitle2, $relatedList2; 11 return { 12 init: function(){ 13 self = this; 14 $relatedTitle2 = $(".related-site-title"); 15 $relatedList2 = $(".related-site"); 16 $relatedTitle2.click(self.onClick); 17 18 $(".related-site-wrap").each(function(){ 19 var $thisBox = $(this); 20 21 $(document).mouseup(function(e){ 22 if($thisBox.has(e.target).length === 0){ 23 $thisBox.find(".related-site-title").removeClass("active"); 24 } 25 }); 26 27 }); 28 29 }, 30 onClick: function(){ 31 $(this).toggleClass("active", ""); 32 } 33 } 34 35}();
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.