PageSourceSearch

https://gidkomp.ru/wp-content/themes/publisherthemesjunkie/includes/js/custom.js

js gidkomp.ru collected 2026-10-04 22:02:42 UTC 2,804 bytes, 68 lines download raw bytes

1//Begin!
2jQuery(document).ready(function(){
3
4jQuery('#mycarousel, #tabber, .widget_tj_twitter').fadeIn('1000');
5
6/*-----------------------------------------------------------------------------------*/
7/*	jQuery Superfish Menu
8/*-----------------------------------------------------------------------------------*/
9    function init_nav(){
10        jQuery('ul.nav').superfish({ 
11	        delay:       100,                             // one second delay on mouse out 
12	        animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
13	        speed:       'fast'                           // faster animation speed 
14    	});
15    }
16    init_nav();
17
18/*-----------------------------------------------------------------------------------*/
19/*	Tabber
20/*-----------------------------------------------------------------------------------*/
21
22        // UL = .tabs
23        // Tab contents = .inside
24        
25       var tag_cloud_class = '#tag-cloud'; 
26       
27              //Fix for tag clouds - unexpected height before .hide() 
28            var tag_cloud_height = jQuery('#tag-cloud').height();
29
30       jQuery('.inside ul li:last-child').css('border-bottom','0px') // remove last border-bottom from list in tab conten
31       jQuery('.tabs').each(function(){
32       	jQuery(this).children('li').children('a:first').addClass('selected'); // Add .selected class to first tab on load
33       });
34       jQuery('.inside > *').hide();
35       jQuery('.inside > *:first-child').show();
36       
37
38       jQuery('.tabs li a').click(function(evt){ // Init Click funtion on Tabs
39        
40            var clicked_tab_ref = jQuery(this).attr('href'); // Strore Href value
41            
42            jQuery(this).parent().parent().children('li').children('a').removeClass('selected'); //Remove selected from all tabs
43            jQuery(this).addClass('selected');
44            jQuery(this).parent().parent().parent().children('.inside').children('*').hide();
45            
46            /*
47            if(clicked_tab_ref === tag_cloud_class) // Initiate tab fix (+20 for padding fix)
48            {
49                clicked_tab_ref_height = tag_cloud_height + 20;
50            }
51            else // Other height calculations
52            {
53                clicked_tab_ref_height = jQuery('.inside ' + clicked_tab_ref).height();
54            }
55            */
56             //jQuery('.inside').stop().animate({
57            //    height: clicked_tab_ref_height
58            // },400,"linear",function(){
59                    //Callback after new tab content's height animation
60                    jQuery('.inside ' + clicked_tab_ref).fadeIn(500);
61            // })
62             
63             evt.preventDefault();
64
65        })
66        
67//End ready!
68});

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.