HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/themes/mixfolio/js/jquery.core.js
// Switches out the main site nav#access with a select box
// Minimizes nav#access on mobile devices
// Now lets load the JS when the DOM is ready
jQuery(document).ready(function($){

    // Generic show and hide wrapper class
    window.show_hide_wrapper = function(){
        $(".wrap").on({
            mouseover: function() {
                $(".hide", this).stop().fadeTo(300, 1.0); // This sets 100% on hover
                $(".fade", this).stop().fadeTo(300, 0.7); // This sets 70% on hover
                $(".show", this).stop().fadeTo(300, 0.2); // This sets 100% on hover

            },
            mouseout: function() {
                $(".hide", this).stop().fadeTo(300, 0); // This should set the opacity back to 0% on mouseout
                $(".fade", this).stop().fadeTo(300, 1.0); // This sets 80% on hover
                $(".show", this).stop().fadeTo(300, 1.0); // This should set the opacity back to 0% on mouseout
            }
        });
    }
    show_hide_wrapper();

  // Tabs

	var tabs = $('dl.tabs');
		tabsContent = $('ul.tabs-content');

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

			//Get Location of tab's content
			var contentLocation = $(this).attr("href");
			contentLocation = contentLocation + "tab";

			//Let go if not a hashed one
			if(contentLocation.charAt(0)=="#") {

				e.preventDefault();

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

				//Show Tab Content
				$(contentLocation).parent('.tabs-content').children('li').css({"display":"none"});
				$(contentLocation).css({"display":"block"});

			}
		});
	});

	$(".post").fitVids();
	$(".single-format-gallery .gallery").find("br").remove();
});