Friday, April 29, 2011

Is there any way to increase the display speed of the SimpleModal dialog in jQuery?

I am using the SimpleModal plug-in in jQuery.

When I use the action event, the modal dialog appears slowly.

Is there any way to increase the speed of the modal dialog, so it appears quicker?

From stackoverflow
  • Try the onOpen callback described at the modal homepage:

    data.modal({onOpen: function (dialog) {
      dialog.overlay.fadeIn('slow', function () {
        dialog.container.slideDown('slow', function () {
          dialog.data.fadeIn('slow');
        });
      });
    }});
    

    Try using different values for the fadeIn function instead of slow if this changes something.

    venkatachalam : I need Speedup the PopUpMenu Mork,But ur solution is For making slow.Since Appearing Popup menu after click should happen suddenly.not by slow
    Mork0075 : As i said, use different values for the pace. the opposite of is slow should be fast.

0 comments:

Post a Comment