PageSourceSearch

https://moellerfineart.com/scripts.bcd022bc97562d92975cb59514ebac60.js

js moellerfineart.com collected 2026-09-26 03:32:29 UTC 7,834 bytes, 292 lines download raw bytes

1//------------------------------------------------------------------------------
2// DOC READY + AJAX COMPLETE
3$( document ).bind("ready ajaxComplete",function() {
4
5    //--------------------------------------------------------------------------
6    // REMOVE CKEDITOR FRONTEND INLINE STYLES
7    $('[class*=ee-editor]').removeAttr("style");
8
9    if ($('.ee-editor-bg-909090').length) { 
10        $('body').addClass('ee-custom-bg-909090')
11    }
12
13});
14
15
16
17
18
19
20
21
22
23
24$(function () {
25
26// FIND AND REPLACE CREDIT IN VIEWING ROOM
27    $("footer .footer-social").append("<div class='new'><p> <a href='http://www.exhibit-e.com/' target='_blank'>Online Viewing Room by exhibit-E<sup>®</sup></a> </p></div");
28    
29    
30});
31
32
33
34
35// function check(){
36//     if($(".s-homepage").length > 0){
37//         $(".logo").detach().prependTo('body');
38//     }
39// }
40// window.onload=check;
41
42
43
44
45
46$( document ).bind("ready ajaxComplete",function() {
47
48    // create gradient for fullscreen if supersized homepage
49    if($(".s-homepage #supersized").length > 0){
50        $('<div />', { id: 'homefader' }).appendTo('body');
51        $("#homefader").css({
52            top: 0, 
53            left: 0,
54            height: '100%',
55            width: '100%',
56            zIndex:0,
57            position:'absolute'
58        });
59    }
60
61
62
63
64
65
66});
67
68
69
70
71$(document).ready(function(){
72    
73    // MOVE SITE CREDIT NEXT TO SOCIAL MEDIA ICONS
74    $("footer .footer-social").append($(".contact .credit, .credit"));
75
76
77
78
79});
80
81
82
83
84
85//--------------------------------------------------------------------------
86// VIEWING ROOM
87$( document ).bind("ready ajaxComplete",function() {
88
89
90    // move logo
91    // $(".s-viewing-room .main-header .logo img").prependTo(".s-viewing-room .main-header.fixed nav.main");
92
93    // black bar
94    // if($("#overlay").length){
95    //     $('.custom-global-menu').addClass('o');
96    // }
97
98    // $( "#overlay .close" ).click(function() {
99    // $('.custom-global-menu').removeClass('o');
100    // });
101
102
103    
104});
105
106
107
108
109
110
111
112// EMAIL PROTECTED PAGE
113// run basic version without any customizations
114$(function () {
115  emailProtected.run();
116});
117 
118// ... but you can easily customize it with this options
119$(function () {
120  emailProtected.run({
121    contentWrapperSelector: '.contentWrapper',
122 
123    template: null, // you can override default form template
124 
125    showNames: true, // include first and last name in form
126    isFirstNameRequired: true,
127    isLastNameRequired: true,
128 
129    // you can bind to any of the following events
130    notEmailProtected: function () { /* ... */ },
131    beforeShowContent: function () { /* ... */ },
132    afterShowContent: function () { /* ... */ },
133    beforeProtectPage: function () { /* ... */ },
134    afterProtectPage: function () { /* ... */ },
135    beforeFormSubmit: function () { /* ... */ },
136    afterFormSubmit: function () { /* ... */ },
137    beforeAjaxSuccess: function () { /* ... */ },
138    afterAjaxSuccess: function () { /* ... */ },
139    onAjaxFail: function () { /* ... */ },
140    beforePrepareCover: function () { /* ... */ },
141    afterPrepareCover: function () { /* ... */ },
142    beforeInitOptions: function () { /* ... */ },
143    afterInitOptions: function () { /* ... */ }
144  });
145  
146  
147});
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171// ------------------------------------------------------------------------------
172// XL THUMBNAILS
173// $( document ).bind('ready ajaxComplete', function() {
174//     if ($(".thumbnails img").length) {
175//         $('.thumbnails img').each(function() {
176//             var match = $(this).attr('src').match(/([a-f0-9]{24}\/[a-f0-9]{32}\.\w{3,4})$/);
177//             if (!match) {
178//                 return;
179//             }
180
181//             var imgPath = match[1];
182//             var src = getResolveUrl(imgPath, '1010x580_fit');
183
184//             $(this).attr('src', src);
185
186//             if (typeof $(this).attr('srcset') !== 'undefined') {
187//                 var srcset = getResolveUrl(imgPath, '1010x580_fit') + ' 1x, ' + getResolveUrl(imgPath, '1010x580_fit') + ' 2x';
188//                 $(this).attr('srcset', srcset);
189//             }
190//         });
191//     }
192// });
193
194
195
196
197
198
199//------------------------------------------------------------------------------
200//------------------------------------------------------------------------------
201//------------------------------------------------------------------------------
202// LOAD RESIZE--MOVE ELEMENTS AT MEDIA BREAKs
203$(window).on('load resize', function () {
204    if ($(window).width() < 900){
205        $('footer .footer-social').appendTo( "footer div.footer-cols" );
206    }else{
207        $("footer .footer-social").appendTo("footer span.container");
208    }
209    
210    
211});
212
213
214
215
216
217
218
219
220// ------------------------------------------------------------------------------
221// ------------------------------------------------------------------------------
222// ------------------------------------------------------------------------------
223// XL SLIDESHOW
224function getResolveUrl(file, filter) {
225    return '/custom/media/cache/resolve/' + filter + '/' + file;
226}
227
228collageDispatcher.on('bxslider.beforePreload', function(config) {
229    if ($(".slider figure img").length) {
230        $('.slider figure img').each(function() {
231            var match = $(this).data('src').match(/([a-f0-9]{24}\/[a-f0-9]{32}\.\w{3,4})$/);
232            if (!match) {
233                return;
234            }
235
236            var imgPath = match[1];
237            var src = getResolveUrl(imgPath, 'enlarge');
238
239            $(this).data('src', src).attr('data-src', src).attr('src', src);
240
241            if (typeof $(this).data('srcset') !== 'undefined') {
242                var srcset = getResolveUrl(imgPath, 'enlarge') + ' 1x, ' + getResolveUrl(imgPath, 'enlarge_2x') + ' 2x';
243                $(this).data('srcset', srcset).attr('data-srcset', srcset).attr('srcset', srcset);
244            }
245        });
246    }
247});
248
249
250
251
252
253
254
255
256// ------------------------------------------------------------------------------
257// ------------------------------------------------------------------------------
258// ------------------------------------------------------------------------------
259// CAPTIONS
260
261$(window).on('load resize', function () {
262
263    if ($(".s-viewing-room, .s-notable-sales").length) {
264    
265            // delay to overide after collage sizing
266            function delayedsizing() {  
267                $('#overlay .slide').each(function() {
268                    $(this).find('figure').css('margin-top', '0');
269                    $(this).find('figcaption').css({'height':'auto','padding-bottom': '20px'});
270                    var extraHeight = $(this).find('figcaption').outerHeight(true);
271                    var windowHeight = $(window).height();
272                    var calculatedHeight = windowHeight - extraHeight;    
273                    $(this).find('figure').css('height', calculatedHeight);
274                });
275            }
276            setTimeout(delayedsizing, 10);
277            
278            // overide sizing on click
279            $( ".bx-next, .bx-prev" ).click(function() {
280                $('#overlay .slide').each(function() {
281                    $(this).find('figure').css('margin-top', '0');
282                    $(this).find('figcaption').css({'height':'auto','padding-bottom': '20px'});
283                    var extraHeight = $(this).find('figcaption').outerHeight(true);
284                    var windowHeight = $(window).height();
285                    var calculatedHeight = windowHeight - extraHeight;    
286                    $(this).find('figure').css('height', calculatedHeight);
287                });
288            });     
289    }    
290    
291});
292   

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.