Vikas V
Vikas V

Reputation: 3186

Jquery Dialog box : Displaying 2 dialog box on same page with different jquery-ui-rev.css

I have 2 Jquery Dialog box on the same page. The look and feel of both the dialog box are different from one another. Since both are referring to same jquery-ui-rev.css whatever CSS I apply for one dialog box, its getting applied to other also which I dont want. How can I fix my problem? And tell the dialog box to use a different CSS file for each other.

Upvotes: 0

Views: 331

Answers (2)

Sandeep Pathak
Sandeep Pathak

Reputation: 10747

Take a look at Dialog#dialogClass to specify individual css classes for different dialogues.

Upvotes: 1

muthu
muthu

Reputation: 5461

You have to create seperate css file for the each dialog. during the dialog open include the css file and remove the css file when you close the dialog. Remove or add css file dynamically

This is may be useful for you

Upvotes: 1

Related Questions