I wouldn't see jQuery UI doing anything like that, no. But you could combine
the idea here:

http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content

with a custom css scoped theme, detailed here:

http://www.filamentgroup.com/lab/using_multiple_jquery_ui_themes_on_a_single_page/

to achieve what you're looking for.

- Richard

On Mon, Jun 8, 2009 at 9:37 AM, Iwan Vosloo <[email protected]> wrote:

>
> Hi Richard,
>
> On Jun 8, 1:01 pm, "Richard D. Worth" <[email protected]> wrote:
> > On Mon, Jun 8, 2009 at 4:09 AM, Iwan Vosloo <[email protected]> wrote:
> >
> > > Of course, with JavaScript off, you may want to style things
> > > differently to how you'd style them with javascript working.  But it
> > > would be nice to still have that styling conform to, say, your theme -
> > > just with different layout perhaps.  So that the page still looks
> > > consistent, but perhaps with less functionality.
> >
> > Sure. So you could use the widget classes directly. They're documented
> for
> > each plugin. For example:
> >
>
> Is it possible to add a convention to the CSS framework, so that
> widgets add,
> say, a .ui.javascript class to the widget's containing element?
>
> This way, you could write HTML that contains the ui-xxx classes, style
> it for
> non-javascript stuff using these, but do it slightly differently
> when .ui.javascript is not
> present?  (This is probably more - but not exclusively - related to
> layout of widgets than theming though.)
>
> -Iwan
> >
>

--~--~---------~--~----~------------~-------~--~----~
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