Sorry about the spelling, *Cesar*. - Richard
On Sat, Jun 6, 2009 at 1:29 PM, Richard D. Worth <[email protected]> wrote: > You can always add classes manually to markup, and use them for styling. > But as Cezar is saying, it may not make sense in many cases to have them > added unless the javascript is available. Take tabs for example. jQuery UI > Tabs uses progressive enhancement to turn a long vertical page (without > javascript) to a presentation of the same content in one pane with > horizontal tabs across the top. Without javascript to make that happen, it > wouldn't probably make sense to have that content themed as tabs, because it > wouldn't function as tabs. > > - Richard > > > On Sat, Jun 6, 2009 at 12:10 PM, Cesar Sanz <[email protected]>wrote: > >> >> Hello pal, >> >> It seems to me that if you want to use all the features of jquery.ui, you >> cannot be thinking >> in turning javascript off .. >> >> Because all the magick that occurs inside a browser is beacause of >> javascript. >> >> So, IMHO, there is no way pointing that no css is declared in the mark >> up.. >> >> Best regards >> ----- Original Message ----- >> From: "Iwan Vosloo" <[email protected]> >> To: "jQuery UI" <[email protected]> >> Sent: Thursday, June 04, 2009 12:25 PM >> Subject: [jquery-ui] Non-javascript use of CSS framework? >> >> >> > >> > Hi there, >> > >> > From looking at the jquery UI examples, I notice that the HTML does >> > not include CSS classes. Rather, CSS classes are always added to >> > widgets when the document.ready JavaScript runs and a widget attaches >> > itself to some HTML. >> > >> > However, when your JavaScript is turned off, a page will be rendered >> > without this CSS, hence no "themed" styling will be applied. >> > >> > This seems to be by design. What's the idea behind it? Or, maybe - so >> > how does one consistently (according to a theme) style a page for non- >> > javascript viewing? >> > >> > Regards >> > - 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 -~----------~----~----~----~------~----~------~--~---
