1/* dCodes Framework: (c) TemplateAccess */ 2 3(function ($) { 4 jQuery(document).ready(function () { 5 doAccordion(); 6 }); 7 function doAccordion() { 8 var accordions = jQuery('.dc_accordion2'); 9 if (accordions.length < 1) { 10 return; 11 } 12 accordions.each(function () { 13 var self = jQuery(this); 14 var handlers = self.children('dt'); 15 handlers.click(function () { 16 var self = jQuery(this); 17 self.children('dt.current').removeClass('current').next().slideUp(); 18 self.toggleClass('current'); 19 self.next('dd').slideToggle(); 20 }); 21 }); 22 } 23}(jQuery)); 24// <![CDATA[ 25$(function () { 26 $('.dc_toggle').addClass('dc_hide'); 27 $('.dc_toggle.dc_show').removeClass('dc_hide'); 28 $('.dc_toggle.dc_show').children('.dc_toggle_box').css({ 29 'display': 'block' 30 }); 31 /*$('a.dc_toggle_link').click(function () { 32 $(this).parents('.dc_toggle').children('.dc_toggle_box').slideToggle('fast'); 33 if ($(this).parents('.dc_toggle').hasClass('dc_hide')) { 34 $(this).parents('.dc_toggle').removeClass('dc_hide'); 35 $(this).parents('.dc_toggle').addClass('dc_show'); 36 } else { 37 $(this).parents('.dc_toggle').addClass('dc_hide'); 38 $(this).parents('.dc_toggle').removeClass('dc_show'); 39 } 40 return false; 41 });*/ 42 $('a.dc_toggle_link').click(function () { 43 $(this).parent('.dc_toggle').children('.dc_toggle_box').slideToggle('fast'); 44 if ($(this).parent('.dc_toggle').hasClass('dc_hide')) { 45 $(this).parent('.dc_toggle').removeClass('dc_hide'); 46 $(this).parent('.dc_toggle').addClass('dc_show'); 47 } else { 48 $(this).parent('.dc_toggle').addClass('dc_hide'); 49 $(this).parent('.dc_toggle').removeClass('dc_show'); 50 } 51 return false; 52 }); 53 $('.dc_acc_box').addClass('dc_hide'); 54 $('.dc_acc_box.dc_show').removeClass('dc_hide'); 55 $('.dc_acc_box.dc_show').children('.dc_toggle_box').css({ 56 'display': 'block' 57 }); 58 $('a.dc_acc_link').click(function () { 59 if ($(this).parents('.dc_acc_box').hasClass('dc_show')) { 60 return false; 61 } 62 $(this).parents('.dc_acc').children('.dc_show').children('.dc_toggle_box').slideToggle('fast'); 63 $(this).parents('.dc_acc').children('.dc_show').addClass('dc_hide'); 64 $(this).parents('.dc_acc').children('.dc_show').removeClass('dc_show'); 65 $(this).parents('.dc_acc_box').children('.dc_toggle_box').slideToggle('fast'); 66 $(this).parents('.dc_acc_box').addClass('dc_show'); 67 $(this).parents('.dc_acc_box').removeClass('dc_hide'); 68 return false; 69 }); 70}); 71$(document).ready(function () { 72 $('.toggleCollapse').on("click", function () { 73 var selector = "." + $(this).attr("rel"); 74 if ($(this).text() == "expand all") { 75 $(selector).each(function () { 76 if ($(this).hasClass("dc_hide")) $(this).find("a.dc_toggle_link").click(); 77 }); 78 $(this).text("shrink all") 79 } else { 80 $(selector).each(function () { 81 if ($(this).hasClass("dc_show")) $(this).find("a.dc_toggle_link").click(); 82 }); 83 $(this).text("expand all") 84 } 85 }); 86}); 87// ]]>
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.