1 2function wpfd_frameload() { 3 jQuery("#wpfd_loader").hide(); 4 jQuery("#wpfdmodalframe").css('visibility',"visible"); 5 jQuery("#wpfdmodalframe").show(); 6} 7 8jQuery(document).ready(function ($) { 9 $('.wpfdlaunch').leanModal({ 10 top: 20, beforeShow: function () { 11 $("#wpfdmodal").css("height", "90%"); 12 $("#wpfdmodalframe").css('visibility','hidden'); 13 $("#wpfdmodalframe").hide(); 14 $("#wpfdmodalframe").attr('src', $("#wpfdmodalframe").data('src')); 15 $("#wpfd_loader").show(); 16 } 17 }); 18 19 20 $(document).on("click", '.wpfdlaunch', function (e) { 21 // Kill all modal 22 $('#wpfdmodal').remove(); 23 $('body').append('<div id="wpfdmodal"><img src="'+wpfdmodalvars.adminurl+'images/spinner-2x.gif" width="32" id="wpfd_loader" /><iframe id="wpfdmodalframe" onload="wpfd_frameload()" width="100%" height="100%" marginWidth="0" marginHeight="0" frameBorder="0" scrolling="auto" data-src="'+wpfdmodalvars.adminurl+'admin.php?page=wpfd&noheader=1&caninsert=1" /><button id="wpfd-close-modal">x</button></div>'); 24 $("#wpfdmodal").css("height", "90%"); 25 $("#wpfdmodalframe").css('visibility', 'hidden'); 26 $("#wpfdmodalframe").attr('src', $("#wpfdmodalframe").data('src')); 27 $("#wpfd_loader").show(); 28 29 var modal_id = $(this).attr("href"); 30 //var modal_height=$(modal_id).outerHeight(); 31 var modal_width = $(modal_id).outerWidth(); 32 $("#lean_overlay").css({"display": "block", opacity: 0}); 33 $("#lean_overlay").fadeTo(200, 0.5); 34 $(modal_id).css({"visibility": "visible", "display": "block", "text-align": "center", "position": "fixed", "opacity": 0, "z-index": 100102, "left"
34: 50 + "%", "margin-left": -(modal_width / 2) + "px", "top": "20px"}); 35 $(modal_id).fadeTo(200, 1); 36 37 }); 38 39 $(document).on('click', '#wpfd-close-modal', function (e) { 40 $('#lean_overlay', window.parent.document).fadeOut(300); 41 $('#wpfdmodal', window.parent.document).fadeOut(300); 42 $('#wpfdmodal').remove(); 43 }); 44 return false; 45});
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.