<script src="../js/jquery-ui.js" type="text/javascript"></script> <link href="../css/jquery-ui.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> window.old_alert = window.alert; window.alert = function (message, fallback) { if (fallback) { old_alert(message); return; } $(document.createElement('div')) .attr({ title: '<%= Resources.LocalStrings.Alert %>', 'class': 'alert' }) .html(message) .dialog({ buttons: { '<%= Resources.LocalStrings.Ok %>': function () { $(this).dialog('close'); } }, close: function () { $(this).remove(); }, draggable: true, modal: true, resizable: true, width: '250px' }); }; </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)