PageSourceSearch

https://www.mulvaneartmuseum.org/_files/js/mulvanescripts.js?v=2.5

js mulvaneartmuseum.org collected 2026-09-28 13:39:44 UTC 4,219 bytes, 116 lines download raw bytes

1//*begin mulvane js *//
2function resizeTopIntro(){
3    var introTextHeight = $(".interior_heading").height();
4    var headerHeight = $(".interior-bg").height();
5    var topIntro = ((headerHeight-introTextHeight)/2/headerHeight*100).toFixed(2) + "%";
6    $(".interior_heading").css({'top': topIntro, 'transition' : 'all ease .5s'});
7    //console.log(introTextHeight + 'introtextheight');
8    //console.log(headerHeight + 'hederheight');
9    //console.log(topIntro + 'topintro');
10}
11
12/*---------Make H1 invisible on home page --------*/
13  $(document).ready(function () { 
14        var custURL = $(location).attr("href");
15        //console.log(custURL.indexOf("https://mulvaneartmuseum.org/") + custURL);
16        // if(custURL.indexOf("https://mulvaneartmuseum.org/index.html") > -1 || custURL == "https://www.mulvaneartmuseum.org/index.html"  || custURL == "https://www.mulvaneartmuseum.org"  || custURL == "https://mulvaneartmuseum.org/index.html"  || custURL == "https://mulvaneartmuseum.org/"  || custURL == "https://mulvane-test.nix.washburn.edu" || custURL == "https://mulvane-test.nix.washburn.edu/index.html" || custURL == "https://cascade.washburn.edu:8080/render/page.act?id=222c8f6fc06801163d91c3e95ec767bf&confId=2210c795c06801163d91c3e97527eada"){
17        //     $('.interior_heading').find('h1').css("visibility","hidden");
18        // };
19        if($('.interior_heading').find('h1').text() == "Mulvane Art Museum"){
20            $('.interior_heading').find('h1').css("visibility","hidden");
21        };
22    });
23/*-------------end H1 invisible on home page --------------*/
24
25$(document).ready(function(){
26    if ( !$(".interior-bg").hasClass("noHeader")){
27    $(".topNavShadow").addClass("hasHeader");
28    $(".interior_heading").addClass("hasHeader");
29    }
30    if ( $(".interior-bg").hasClass("noHeader")){
31        $(".overlaybox").css({'opacity': '1', 'transition' : 'all ease .5s'});
32    }
33});
34
35/*--fade in overlaybox --*/
36if (matchMedia('only screen and (max-width: 768px)').matches) {
37$(window).load(function(){
38    if ( !$(".interior-bg").hasClass("noHeader")){
39    $(".overlaybox").delay(0).css({'opacity': '1', 'transition' : 'all ease .5s'});
40    resizeTopIntro();
41    }
42});
43}else{
44$(window).load(function(){
45    if ( !$(".interior-bg").hasClass("noHeader")){
46    $(".overlaybox").delay(0).animate({'opacity':'1'},1000);
47    resizeTopIntro();
48    }
49});
50}
51window.onresize = resizeTopIntro;
52
53    /*---Scroll Reveal ---*/
54    $(document).ready(function(){
55        if($(".sr-intro").length > 0 || $(".sr-col").length > 0){
56        window.sr = new ScrollReveal();
57        sr.reveal('.sr-intro', {
58    delay: 100,
59    distance: '30px',
60    duration: 1500,
61    easing: 'cubic-bezier(0.5, 0, 0, 1)',
62    interval: 0,
63    opacity: 0,
64    origin: 'bottom',
65    rotate: {
66        x: 0,
67        y: 0,
68        z: 0,
69    },
70    scale: 1,
71    cleanup: false,
72    container: document.documentElement,
73    desktop: true,
74    mobile: true,
75    reset: false,
76    useDelay: 'always',
77    viewFactor: 0.0,
78    viewOffset: {
79        top: 0,
80        right: 0,
81        bottom: 0,
82        left: 0,
83    },
84    afterReset: function (el) {},
85    afterReveal: function (el) {},
86    beforeReset: function (el) {},
87    beforeReveal: function (el) {},
88});
89        sr.reveal('.sr-col', {
90            duration: 600,
91            delay: 200,
92            scale:1,
93        }, 200);
94        }
95    });
96    /*---End SCroll Reveal ---*/
97    
98    /*---Begin Home Page Graphic Link Hover Fade -----*/
99    $(document).ready(function(){
100        $(".courseOverlayContainer").hover(function(){
101            $(this).find(".courseImageOverlay.blue").fadeTo( "slow" , 0.2);
102            }, function(){
103            $(this).find(".courseImageOverlay.blue").fadeTo( "slow" , 1);
104        });
105    })
106    /*---End Home Page Graphic Link Hover Fade -----*/
107    
108    /*---Featured Announcement to front --*/
109        $(document).ready(function(){
110            if($(".prepend.announcement")[0]){
111                $(".prepVessel").replaceWith($(".prepend.announcement"));
112            }
113        });
114
115    /*---End Featured Announcement to front --*/
116    

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.