403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/members.legalthisweek.com/public_html/js/responsive/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/members.legalthisweek.com/public_html/js/responsive/responsive.js
jQuery(function($) {
	//RESPONSIVE MENU mobiledropdown - MEMBERS AREA
	// Create the mobiledropdown base
	$("<select class='mobiledropdown' />").appendTo(".tour_top_menu");
      
	// Default Option
	$("<option />", {
		"selected": "selected",
		"value"   : "",
		"text"    : "-- Menu --"
	}).appendTo(".tour_top_menu select.mobiledropdown");
      
	// Populate mobiledropdown with menu items
	$(".tour_top_menu a").each(function() {
		var el = $(this); var padding = '';
		var myel = $(this).clone().children().remove().end().text();
		//for (var i = 0; i < el.parentsUntil('.tour_top_menu > ul').length - 1; i++){padding += "&ndash;";}
		
		var t = el.attr("href");
		if (t === undefined || t === false || t === "#" || t.length === 0) {
			t = ""
		}
		$("<option />", {
			"value"   : el.attr("href"),
			"html"    : padding + ' ' + myel,
			disabled: !t ? true : false,
		}).appendTo(".tour_top_menu select.mobiledropdown");
	});

	$(".tour_top_menu select.mobiledropdown option").each(function(){
		var currentURL=$(location).attr('href');
		var n=currentURL.indexOf( $(this).val() );
		if ( n != -1)
			$(this).attr("selected","selected");
	});
		
	$(".tour_top_menu select.mobiledropdown").change(function() { window.location = $(this).find("option:selected").val(); });
	
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
	//RESPONSIVE MENU mobiledropdown - MEMBERS AREA
	// Create the mobiledropdown base
	$("<select class='mobiledropdown' />").appendTo(".top_menu");
      
	// Default Option
	$("<option />", {
		"selected": "selected",
		"value"   : "",
		"text"    : "-- Menu --"
	}).appendTo(".top_menu select.mobiledropdown");
      
	// Populate mobiledropdown with menu items
	$(".top_menu a").each(function() {
		var el = $(this); var padding = '';
		var myel = $(this).clone().children().remove().end().text();
		//for (var i = 0; i < el.parentsUntil('.top_menu > ul').length - 1; i++){padding += "&ndash;";}
		
		var t = el.attr("href");
		if (t === undefined || t === false || t === "#" || t.length === 0) {
			t = ""
		}
		$("<option />", {
			"value"   : el.attr("href"),
			"html"    : padding + ' ' + myel,
			disabled: !t ? true : false,
		}).appendTo(".top_menu select.mobiledropdown");
	});

	$(".top_menu select.mobiledropdown option").each(function(){
		var currentURL=$(location).attr('href');
		var n=currentURL.indexOf( $(this).val() );
		if ( n != -1)
			$(this).attr("selected","selected");
	});
		
	$(".top_menu select.mobiledropdown").change(function() { window.location = $(this).find("option:selected").val(); });
	
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
	$("<i class='mobile_button' />").appendTo(".top_navbar");
	$("<div class='mobile_top_menu'><ul></ul></div>").appendTo(".top_navbar");
	// Populate the mobile_top_menu ul with menu items
	$(".top_navbar a").each(function() {
		var el = $(this); var padding = '';
		var myel = $(this).clone().children().remove().end().text();
		var t = el.attr("href");
		if (t === undefined || t === false || t === "#" || t.length === 0) {
			t = ""
		}
		$('<li><a href="'+el.attr("href")+'">'+myel+'</a></li>').appendTo(".mobile_top_menu ul");
	});
	
	$('i.mobile_button').click(function(e){
		e.preventDefault();
		$('.mobile_top_menu').slideToggle();
	});
	
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
	//Add class to parent <a> element of .see_more_button
	if( $('.see_more_button').length > 0) { $('.see_more_button').parent().addClass('see_more_button_parent'); }
	
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
	$(document).on('click', 'a.liveshows_trigger', function (e) {
		e.preventDefault();
		$('.live_show_wrapper').slideToggle('fast');
	});
	
});

$( window ).resize(function() {
	if( $('.live_show_wrapper').length > 0 ) { 
		if( $(window).width() < 768 ) {
			if( $('.liveshows_trigger').length == 0 ) {
				//Since we have the Live Cams link in the main site navigation, we don't require the top header button like on the tour side.
				//$('.top_navbar_container .top_navbar').append('<a href="#liveshows" class="liveshows_trigger" style="margin-left:24px; display:inline-block;"><div class="members_button">Live Shows</div></a>');
			}
			$('.live_show_wrapper').detach().insertBefore('.header');
			$('.live_show_wrapper').hide();
		} else {
			$('.live_show_wrapper').detach().prependTo('.header');
			if( $('.liveshows_trigger').length > 0 ) {
				$('.liveshows_trigger').remove();
			}
			$('.live_show_wrapper').show();
			$('.live_show_wrapper').css('display','inline');
		}
	}
	
	if ($(window).width() >= 768)
	{
		$('.mobile_top_menu').hide();
	}
	
	
});

Youez - 2016 - github.com/yon3zu
LinuXploit