daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 115 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. $('#member_ban_forum').ajaxForm( {
  2.     data: { member: member },
  3.     beforeSubmit: function() {
  4.         $.modal.close();
  5.     },
  6.     success: function (responseText) {
  7.         $().delay(5000, function () {
  8.             simpleModal(responseText);
  9.         });
  10.     }
  11. });
  12.    
  13. function simpleModal ( html )
  14. {
  15.     $(html).modal({
  16.         containerCss:{
  17.             height:340,
  18.             width:450
  19.         },
  20.         onOpen: function (dialog) {
  21.             dialog.overlay.fadeIn(350, function () {
  22.                 dialog.container.fadeIn(350, function () {
  23.                 dialog.data.slideDown(350);
  24.                 });
  25.             });
  26.         },
  27.         onClose: function (dialog) {
  28.             dialog.data.slideUp(350, function () {
  29.                 dialog.container.fadeOut(350, function () {
  30.                     dialog.overlay.fadeOut(350, function () {
  31.                         $.modal.close();
  32.                     });
  33.                 });
  34.             });
  35.         }
  36.     });
  37. }
  38.    
  39. $('#member_ban_forum').ajaxForm( {
  40.     data: { member: member },
  41.     beforeSubmit: function() {
  42.         $.modal.close();
  43.     },
  44.     success: function (responseText) {
  45.         setTimeout(function () {
  46.             simpleModal(responseText);
  47.         }, 5000);
  48.     }
  49. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top