Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7042231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:08:36+00:00 2026-05-28T02:08:36+00:00

I have a site built using jQuery and jQueryUI. All dialogs are using the

  • 0

I have a site built using jQuery and jQueryUI. All dialogs are using the same effects for showing and hiding. However I am unable to set effect on those dialogs created by editGridRow and viewGridRow methods of jqGrid. I wonder if there is anything to add showing/hiding effect to those dialogs created by jqGrid.

—- Update

Thanks Oleg for his tricks in dealing with jqGrid. I have successfully changed my website to have a consistent effects on dialog showing. In short, I need to remove/update the inline style of the dialog and that tinymce ought to be created AFTER the effect. Here are some codes:

$(function () {
        var cssLeft;
        var cssTop;

        $.extend($.jgrid, {
            showModal: function (h) {
                if (cssLeft) {
                    h.w.css("left", cssLeft).css("top", cssTop);
                }
                h.w.show("fold", function() {
                    var htmlEditor = $("#item", h.w);
                    if (htmlEditor) {
                        htmlEditor.tinymce({
                            script_url: "/Scripts/tinymce.3.4.5/tiny_mce.js",
                            mode: "none",
                            theme: "advanced",
                            plugins: "autolink,lists,layer,advhr,advimage,advlink,emotions,inlinepopups,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
                            theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
                            theme_advanced_buttons2: "cut,copy,paste,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,|,forecolor,backcolor",
                            theme_advanced_buttons3: "hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,media,advhr,|,fullscreen",
                            theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,blockquote,pagebreak,|,insertfile,insertimage",
                            theme_advanced_toolbar_location: "top",
                            theme_advanced_toolbar_align: "left",
                            theme_advanced_resizing: true,
                            theme_advanced_statusbar: false
                        });
                    }
                });
            },
            closeModal: function (h) {
                if (!cssLeft) {
                    cssLeft = h.w.css("left");
                    cssTop = h.w.css("top");
                }
                h.w.css("left", "inherit").css("top", "inherit");
                h.w.hide("blind").attr("aria-hidden", "true");
                var htmlEditor = $("#item", h.w);
                if (htmlEditor) {
                    if (htmlEditor.tinymce()) {
                        htmlEditor.tinymce().remove();
                    }
                }
                if (h.o) {
                    h.o.remove();
                }
            }
        });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:08:37+00:00Added an answer on May 28, 2026 at 2:08 am

    It’s a good question!

    Internally jqGrid uses jqModal which will be as the part of jqGrid (as the module jqModal.js). To implement the animation effects you can overwrite the $.jgrid.showModal and $.jgrid.closeModal methods.

    The demo for example uses the following code

    $.extend($.jgrid, {
        showModal : function(h) {
            h.w.show("slow");
        },
        closeModal : function(h) {
            h.w.hide("slow").attr("aria-hidden", "true");
            if(h.o) {h.o.remove();}
        }
    });
    

    I think you can easy modify the code of above functions to implement the same effects for showing and hiding which you use on your site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this site that is built using the jQuery Masonry plugin, the site
I have already built a standard site using a modified jQuery UI theme roller
On the front page of our site using flash I have built a smooth
I have created a mobile version of my website using jquery mobile. My site
I'm developing a mobile site for iPhone using jQuery. I have a hidden div
I have a site built in Ruby On Rails which has many ads in
I have built a site in wordpress and the home page is really screwed
I have already built a site from scratch. It has banning, PM, comments, etc.
We have a hosted site that has a CMS we built running on a
I have a pretty large site and every page is built from several included

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.