1$(document).ready(function() { 2 3 //DISABLE DRAG AND SAVE IMAGES 4 $('body').on('dragstart contextmenu', 'img', function(event) { 5 event.preventDefault(); 6 }); 7 8 9// $('img').on('dragstart', function(event) { 10// event.preventDefault(); 11// }); 12 13 14 $('.footer-social').appendTo('.s-contact #wrapper-contact .column:nth-of-type(3)') 15 16 17 // DISABLE RIGHT CLICK AND DRAG IMAGES 18 // $('img').attr('oncontextmenu','return false;') 19 //$('img').on('dragstart','div', function(event) { event.preventDefault(); }); 20 21 if ($('.s-artists .section-header .links a[href="#list"]').length) { 22 $('.artists-grid').addClass("hidden"); 23 $('.artists-rollover').removeClass("hidden"); 24 25 $('.s-artists .section-header .links a[href="#thumbnails"]').removeClass('active'); 26 $('.s-artists .section-header .links a[href="#list"]').addClass('active'); 27 } 28 }); 29 30 31$(document).ready(function() { 32 $('.s-artists .home .view.links').each(function() { 33 $(this).children().eq(0).appendTo(this); 34 }); 35 36 37 $('.credit').appendTo('.footer-cols'); 38}); 39 40// Notes for international shipping 41$(document).ready(function() { 42 if( $('#order_personal_data_shipping_address_country').length > 0 && $('#order_personal_data_shipping_address_country').is(':disabled') ) { 43 var DisabledIntlText = '*Please note that items will not be shipped outside of the United States. Should you like to place an order with an international mailing address, please email '; 44 $('<span id="intl_shipping_disabled">'+DisabledIntlText+'<a href="mailto:[email protected]">[email protected]</a>.</span>').appendTo( $('#order_personal_data_shipping_address') ); 45 } 46 47 //DISABLE DRAG AND SAVE IMAGES 48 $('body').on('dragstart contextmenu', 'img', function(event) { 49 event.preventDefault(); 50 }); 51 52 //DISABLE RIGHT CLICK DOWNLOAD 53 if ($('.s-artists .section-header .links a[href="#list"]').length) { 54 $('.artists-grid').addClass("hidden"); 55 $('.artists-rollover').removeClass("hidden"); 56 $('.s-artists .section-header .links a[href="#thumbnails"]').removeClass('active'); 57 $('.s-artists .section-header .links a[href="#list"]').addClass('active'); 58 } 59 60}); 61 62 63// document.addEventListener('contextmenu', event => event.preventDefault()); 64 65$( document ).bind('ready', function() { 66 67// ALERT SITE TOP 68 $('<div id="ee-alert-site-top"><div class="container"></div></div>').prependTo('body'); 69 $( "#ee-alert-site-top > div" ).load( "/alert #wrapper-alert-site-top .content p:first-of-type", function() { 70 }); 71 72 73}); 74 75 76 77$( document ).bind("ready ajaxComplete",function() { 78 79 // ------------------------------------------------------------------------- 80 // EXHIBITIONS WORKAROUND - SEE CSS 81 // load upcoming to current child page 82 if (($('.s-projects .switch a[href="/exhibitions"].active').length) && ($('.s-projects .switch a[href="/exhibitions/upcoming"]').length) && (!$('#ee-upcoming').length)) { 83 $('<div id="ee-upcoming"></div>').appendTo('#exhibitions-container-main'); 84 $( "#ee-upcoming" ).load( "/exhibitions/upcoming #exhibitions-container-main .container", function() {}); 85 } 86 // load past exhibitions link to either current of upcoming child pages 87 if (($('.s-projects .switch a[href="/exhibitions"].active').length) || ($('.s-projects .switch a[href="/exhibitions/upcoming"].active').length)) { 88 if (!$('#ee-past-link').length) { 89 $('<div id="ee-past-link"><div class="container"><a href="/exhibitions/past">VIEW PAST EXHIBITIONS</a></div></div>').appendTo('#exhibitions-container-main'); 90 } 91 } 92 93}); 94
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.