You have to do this in JavaScript, so you'll need to write the code at least once. If you want to be able to do this over and over, you can create a plugin that will do all the setup for you.
On Feb 21, 4:09 pm, Nikola <[email protected]> wrote: > Hello, > > Is there a simple way to apply the conventions of the UI CSS framework > to any given DIV? > > Specifically, say, I'd like .thisDiv to also have the .ui-state- > default class, on hover to have the .ui-state-hover class, on click > etc... etc... > > I know I can easily do this by toggling / adding removing the classes > but is there a simpler way to just include any given DIV into the > framework? > > Thanks, > Nikola --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
