1// namespacing jQuery and all plugins loaded so far // 2//var WY = window.WY || {}; WY.$ = jQuery.noConflict(true); 3 4//Model window for login 5window.wySM; 6opendModelWindow = function(sTitle, sUrl ){ 7 //init model window to 8 $.fn.SimpleModal({ 9 hideFooter: true, 10 width:400, 11 height:220, 12 title: sTitle, 13 model: 'modal', 14 contents: '<iframe src="'+sUrl+'" width="400" height="220" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>' 15 }).showModal(); 16 wySM = $.fn.SimpleModal(); 17 return false; 18} 19 20//Model window for value eiditors 21window.wySMLink; 22WYPopupWindowLinkMW = function(oURL, sName, iW, iH){ 23 $.fn.SimpleModal({ 24 hideFooter: true, 25 closeButton: true, 26 width:iW, 27 height:iH, 28 title: '', 29 model: 'modal', 30 contents: '<iframe src="'+oURL+'" width="'+iW+'" height="'+iH+'" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>' 31 }).showModal(); 32 wySMLink = $.fn.SimpleModal(); 33 return false; 34} 35 36//Open login model window if session expired 37if(typeof(openLogonModelWindow) != 'undefined' && openLogonModelWindow == 'yes'){ 38 WY.$(document).ready(function(e) { 39 //init model window to 40 $.fn.SimpleModal({ 41 hideFooter: true, 42 width:400, 43 height:220, 44 title: '', 45 model: 'modal', 46 contents: '<iframe src="'+openLogonModelWindowUrl+'" width="400" height="220" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>' 47 }).showModal(); 48 wySM = $.fn.SimpleModal(); 49 }); 50} 51 52///Opend Model window for gallery 53window.wySMGallery; 54WYPopupWindowGalleryMW = function(oURL, sName, iW, iH){ 55 $.fn.SimpleModal({ 56 hideFooter: true, 57 width:iW, 58 height:iH, 59 title: sName, 60 model: 'modal', 61 contents: '<iframe src="'+oURL+'" width="'+iW+'" height="'+iH+'" frameborder="0" ></iframe>' 62 }).showModal(); 63 64 wySMGallery = $.fn.SimpleModal(); 65 return false; 66} 67 68//Open Model Window for Alert 69window.wySMAlert; 70WYPopupWindowAlertMW = function(oText, sName, iW, iH){ 71 $.fn.SimpleModal({ 72 hideHeader: true, 73 closeButton: false, 74 width: iW, 75 height: iH, 76 title: sName, 77 model: 'alert', 78 contents: oText 79 }).showModal(); 80 wySMAlert = $.fn.SimpleModal(); 81 return false; 82}
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.