Hmmm, I see. I don't think this could be practical, since it will be a
generic widget created from PHP. Thanks anyway.

On Jan 21, 5:58 pm, ScottJehl <[email protected]> wrote:
> Yes, but you'll need to tweak your theme CSS for your particular
> implementation. Basically, you'll want to preface each selector string
> in the CSS with a selector to scope the styles to a section of your
> page.
>
> Let's say you want your redmond theme to only apply to widgets within
> the #mySection div of your page...
>
> 1. Open up your redmond ui.theme.css file.
> 2. find every selector string and add "#mySection " before it.
> This will scope the entire theme to that ID.
>
> If you have regex find/replace capabilities in your text editor, you
> could run a couple regex's to do this for you. Something like...
>
> find:
> ^\.ui
> replace with:
> #mySection \.ui
>
> which would cover all the selectors at the beginning of a line.
>
> Then you could get the ones that follow a comma like this:
>
> find:
> , \.ui
> replace with:
> , #mySection \.ui
>
> Let me know if this helps!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to