PageSourceSearch

https://qldrogaine.asn.au/wp-content/plugins/profilegrid-user-prof…/public/js/pg-profile-menu.js?ver=6.0.0.2

js qldrogaine.asn.au collected 2026-10-02 12:49:33 UTC 2,470 bytes, 58 lines download raw bytes

1(function( $ ) {
2$.fn.PGresponsiveMenu = function () {
3	$(this).each(function () {
4		$(this).addClass("pg-horizontal-responsive-menu");
5		alignMenu(this);
6		var robj = this;
7		$(window).on( 'resize', function () {
8			$(robj).append($($($(robj).children("li.hideshow")).children("ul")).html());
9			$(robj).children("li.hideshow").remove();
10			alignMenu(robj);
11		});
12
13		function alignMenu(obj) {
14		  
15		    
16			var w = 0;
17			var mw = $(obj).width() + 210;
18			var i = -1;
19			var menuhtml = '';
20			$.each($(obj).children(), function () {
21				i++;
22				w += $(this).outerWidth(true);
23				if (mw < w) {
24					menuhtml += $('<div>').append($(this).clone()).html();
25					$(this).remove();
26				}
27			});
28                        if(menuhtml!='')
29                        {
30                            $(obj).append('<li  style="position:relative;" href="#" class="hideshow">' + '<a href="javascript:void(0)"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg> ' + '</a><ul>' + menuhtml + '</ul></li>');
31                            $(obj).children("li.hideshow ul").css("top", $(obj).children("li.hideshow").outerHeight(true) + "px");
32                        }
33			$(obj).children("li.hideshow").on( 'click', function () {
34				$(this).children("ul").toggle();
35			});  
36			
37                        $('li.hideshow ul li.pm-profile-tab a').on( 'click', function(){
38                            var t = $(this).attr('href');
39                            $('li.pm-profile-tab a').removeClass('active');         
40                            $(this).addClass('active');
41                            $('.pg-profile-tab-content').hide();
42                            $(t).find('.pm-section-content:first').show();
43                            $('li.hideshow ul').hide();
44                            $(t).fadeIn('slow');
45                            return false;
46                        });
47		}
48	});
49        
50        setTimeout(function(){
51        $(".pg-horizontal-responsive-menu li.hideshow ul:empty").closest('.pg-horizontal-responsive-menu li.hideshow').hide();
52            var pmDomColor = $(".pmagic").find("a").css('color');
53            $(".pg-horizontal-responsive-menu li.hideshow").css('fill', pmDomColor);
54            
55            },1000);
56}
57
58})(jQuery);

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.