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.
Add a comment
|
2 Answers
Take a look at Dialog#dialogClass to specify individual css classes for different dialogues.
Comments
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
1 Comment
Vikas V
Even the answer from Muthu was very helpful.