javascriptjquerymodal-dialogjqmodal

Can anyone tell me about a jQuery modal dialog box library that doesn't suck


jQuery based modal dialog boxes are great as long as you do as much as the example tells you to. I need a jQuery based modal dialog box library that has to have the following characteristics:

Ideal implementation:

   function showDialog(values)
    {
      processToChangeDom(values);
      changeDivTobeDisplayed();
      modalDialog.show();
    }

Does anyone have any suggestions? I have already tried facebox, simplemodal and a whole range of libraries, most of them don't support one or the other of these functions I described above.


Solution

  • Try SimpleModal. I found it's API quite nice.