JDS
JDS

Reputation: 16998

jQuery dialog not appearing fully

There's something wrong with my jQuery popup dialog. Only the image and the "close" hyperlink is appearing. I was thinking I would get a nice-looking UI as per this example: http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/

Here is what is happening:

oh so empty...

Here is my code:

theDiv.append('<div id="editDialog"></div>');
    $("#editDialog").dialog({
    height: 350,
        width: 400,
        modal: true,
        position: 'center',
        autoOpen:true,
        title:'Hello World',
        zIndex: 10000,
        overlay: { opacity: 0.5, background: 'black'}
    });

Thanks for any help here.

Upvotes: 0

Views: 42

Answers (2)

Raghvendra Parashar
Raghvendra Parashar

Reputation: 4053

I thing you did not added jquery-custom css and jquery-custom js files, for explore it please take a look here http://jqueryui.com/demos/dialog/#modal, and you can download demo and documentation from here http://jqueryui.com/download.

I hope it will help you.

Thanks.

Upvotes: 1

Dan Barzilay
Dan Barzilay

Reputation: 4993

From the comments i understand that you should read this guide: jQuery UI - Getting Started

Upvotes: 1

Related Questions