1 2$(document).ready(function() { 3 4 //Default Action 5 $(".tab_content").hide(); //Hide all content 6 $("ul.tabs li:first").addClass("active").show(); //Activate first tab 7 $(".tab_content:first").show(); //Show first tab content 8 9 //On Click Event 10 $("ul.tabs li").click(function() { 11 $("ul.tabs li").removeClass("active"); //Remove any "active" class 12 $(this).addClass("active"); //Add "active" class to selected tab 13 $(".tab_content").hide(); //Hide all tab content 14 var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content 15 $(activeTab).fadeIn(); //Fade in the active content 16 return false; 17 }); 18}); 19 20 21// //add notification_global_ja_euc.js 22// var mainContents = document.getElementById('MainContents'); 23// var highsp = document.getElementById('highsp'); 24// var notification = document.createElement('script'); 25// notification.id = "notification"; 26// //notification.src = 'http://ecp.heydouga.com/common/notification/ecp/notification_global_ja_euc.js'; 27// notification.setAttribute('async','async') 28// mainContents.insertBefore(notification, highsp); 29// // document.getElementById('notification') 30 31 32 33$(document).ready(function() { 34$("#textBox").hide(); 35$("#clickMe").click(function() { 36 $("#textBox").toggle("fast"); 37 return false; 38 }); 39}); 40 41$(document).ready(function(){ 42 43 $("#reviewFormLink").click(function(){ 44 if ($("#reviewForm").is(":hidden")){ 45 $("#reviewForm").slideDown("slow"); 46 } 47 else{ 48 $("#reviewForm").slideUp("slow"); 49 } 50 }); 51 $("#closeBox").click(function(){ 52 $("#reviewForm").slideUp("slow"); 53 }); 54 55}); 56 57function closeForm(){ 58 $("#messageSent").show("slow"); 59 setTimeout('$("#messageSent").hide();$("#reviewForm").slideUp("slow")', 1000); 60} 61 62//FAQ 63jQuery.fn.initMenu = function() { 64 return this.each(function(){ 65 var theMenu = $(this).get(0); 66 $('.acitem', this).hide(); 67 $('li.expand > .acitem', this).show(); 68 $('li.expand > .acitem', this).prev().addClass('active'); 69 $('li a', this).click( 70 function(e) { 71 e.stopImmediatePropagation(); 72 var theElement = $(this).next(); 73 var parent = this.parentNode.parentNode; 74 if($(parent).hasClass('noaccordion')) { 75 if(theElement[0] === undefined) { 76 window.location.href = this.href; 77 } 78 $(theElement).slideToggle('normal', function() { 79 if ($(this).is(':visible')) { 80 $(this).prev().addClass('active'); 81 } 82 else { 83 $(this).prev().removeClass('active'); 84 } 85 }); 86 return false; 87 } else { 88 if(theElement.hasClass('acitem') && theElement.is(':visible')) { 89 if($(parent).hasClass('collapsible')) { 90 $('.acitem:visible', parent).first().slideUp('normal', 91 function() { 92 $(this).prev().removeClass('active'); 93 } 94 ); 95 return false; 96 } 97 return false; 98 } 99 if(theElement.hasClass('acitem') && !theElement.is(':visible')) { 100 $('.acitem:visible', parent).first().slideUp('normal', function() { 101 $(this).prev().removeClass('active'); 102 }); 103 theElement.slideDown('normal', function() { 104 $(this).prev().addClass('active'); 105 }); 106 return false; 107 } 108 } 109 } 110 ); 111 });
112}; 113 114//$(document).ready(function() {$('.faqmenu').initMenu();});
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.