Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#member_ban_forum').ajaxForm( {
- data: { member: member },
- beforeSubmit: function() {
- $.modal.close();
- },
- success: function (responseText) {
- $().delay(5000, function () {
- simpleModal(responseText);
- });
- }
- });
- function simpleModal ( html )
- {
- $(html).modal({
- containerCss:{
- height:340,
- width:450
- },
- onOpen: function (dialog) {
- dialog.overlay.fadeIn(350, function () {
- dialog.container.fadeIn(350, function () {
- dialog.data.slideDown(350);
- });
- });
- },
- onClose: function (dialog) {
- dialog.data.slideUp(350, function () {
- dialog.container.fadeOut(350, function () {
- dialog.overlay.fadeOut(350, function () {
- $.modal.close();
- });
- });
- });
- }
- });
- }
- $('#member_ban_forum').ajaxForm( {
- data: { member: member },
- beforeSubmit: function() {
- $.modal.close();
- },
- success: function (responseText) {
- setTimeout(function () {
- simpleModal(responseText);
- }, 5000);
- }
- });
Add Comment
Please, Sign In to add comment