1$(document).ready(function() { 2$(document).mouseout(function(e) { 3if(!cchecker.checkSubmitted() && e.pageY - $(document).scrollTop() <= 5) 4{ 5// Launch MODAL BOX 6$('#Smart_Pop-Up').modal({onOpen: modalOpen, onClose: simplemodal_close}); 7 // create cookies 8 cchecker.trackSubmit(); 9} 10}); 11}); 12/** 13* When the open event is called, this function will be used to 'open' 14* the overlay, container and data portions of the modal dialog. 15* 16* onOpen callbacks need to handle 'opening' the overlay, container 17* and data. 18*/ 19function modalOpen (dialog) { 20hideFlash(); 21dialog.overlay.fadeIn('fast', function () { 22dialog.container.fadeIn('fast', function () { 23dialog.data.hide().slideDown('fast'); 24}); 25}); 26} 27/** 28* When the close event is called, this function will be used to 'close' 29* the overlay, container and data portions of the modal dialog. 30* 31* The SimpleModal close function will still perform some actions that 32* don't need to be handled here. 33* 34* onClose callbacks need to handle 'closing' the overlay, container 35* and data. 36*/ 37function simplemodal_close (dialog) { 38dialog.data.fadeOut('fast', function () { 39dialog.container.hide('fast', function () { 40dialog.overlay.slideUp('fast', function () { 41$.modal.close(); 42showFlash(); 43}); 44}); 45}); 46}
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.