PHP 8.1.33
Preview: app.js.orig Size: 2.27 KB
/home/jambtst2015/public_html/app/assets/js/zurb-responsive-tables/javascripts/app.js.orig

$(document).ready(function () {

	/* Use this js doc for all application specific JS */

	/* TABS --------------------------------- */
	/* Remove if you don't need :) */

	function activateTab($tab) {
		var $activeTab = $tab.closest('dl').find('a.active'),
				contentLocation = $tab.attr("href") + 'Tab';

		//Make Tab Active
		$activeTab.removeClass('active');
		$tab.addClass('active');

<<<<<<< HEAD
    	//Show Tab Content
		$(contentLocation).closest('.tabs-content').children('li').hide();
=======
		//Show Tab Content
		$(contentLocation).closest('ul.tabs-content').find('> li').hide();
>>>>>>> bd561f03d730cf888789bb44e12c4e56c5f445ae
		$(contentLocation).show();
	}

	$('dl.tabs').each(function () {
		//Get all tabs
		var tabs = $(this).children('dd').children('a');
		tabs.click(function (e) {
			activateTab($(this));
		});
	});

	if (window.location.hash) {
		activateTab($('a[href="' + window.location.hash + '"]'));
	}


	/* PLACEHOLDER FOR FORMS ------------- */
	/* Remove this and jquery.placeholder.min.js if you don't need :) */

	$('input, textarea').placeholder();

	/* DROPDOWN NAV ------------- */
	/*
	$('.nav-bar li a, .nav-bar li a:after').each(function() {
		$(this).data('clicks', 0);
	});
	$('.nav-bar li a, .nav-bar li a:after').bind('touchend click', function(e){
		e.stopPropagation();
		e.preventDefault();
		var f = $(this).siblings('.flyout');
		$(this).data('clicks', ($(this).data('clicks') + 1));
		if (!f.is(':visible') && f.length > 0) {
			$('.nav-bar li .flyout').hide();
			f.show();
		}
	});
	$('.nav-bar li a, .nav-bar li a:after').bind(' touchend click', function(e) {
		e.stopPropagation();
		e.preventDefault();
		if ($(this).data('clicks') > 1) {
			window.location = $(this).attr('href');
		}
	});
	$('.nav-bar').bind('touchend click', function(e) {
		e.stopPropagation();
		if (!$(e.target).parents('.nav-bar li .flyout') || $(e.target) != $('.nav-bar li .flyout')) {
			e.preventDefault();
		}
	});
	$('body').bind('touchend', function(e) {
		if (!$(e.target).parents('.nav-bar li .flyout') || $(e.target) != $('.nav-bar li .flyout')) {
			$('.nav-bar li .flyout').hide();
		}
	});
	*/

	/* DISABLED BUTTONS ------------- */
	/* Gives elements with a class of 'disabled' a return: false; */

<<<<<<< HEAD
});
=======
});
>>>>>>> bd561f03d730cf888789bb44e12c4e56c5f445ae

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
2.68 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.27 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
2.20 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
6.10 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
91.67 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
18.65 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
1.63 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
4.39 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download
9.47 KB lrwxrwxrwx 2024-11-22 17:53:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).