PageSourceSearch

https://plenmagazin.ru/templates/tpl/js/accordion.js

js plenmagazin.ru collected 2026-10-05 00:32:21 UTC 809 bytes, 23 lines download raw bytes

1(function($) {
2$.fn.yaa = function(settings) {
3    // settings
4    settings = $.extend({
5		activeClass: 'header_highlight',
6        headClass: 'accordion_heading',
7        contentClass: 'accordion_content',
8		slideTime: 150
9    }, settings || {});
10    return this.each(function() {
11		$(this).children('.' + settings.contentClass).hide(); 
12		$(this).children('.' + settings.activeClass).next('.' + settings.contentClass).slideDown(settings.slideTime);
13		$(this).find('.' + settings.headClass).click(function() {
14			$(this).next('.' + settings.contentClass).slideToggle(settings.slideTime)
15			.siblings('.' + settings.contentClass + ':visible').slideUp(settings.slideTime);
16		});
17	});
18};
19})(jQuery);
20jQuery(function(){
21	jQuery("#accordion_plentab").yaa();
22	jQuery(".accordion_heading").wrapInner('<span/>')
23});

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.