Reputation: 3186
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
Reputation: 10747
Take a look at Dialog#dialogClass to specify individual css classes for different dialogues.
Upvotes: 1
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