Sam Collett wrote:
> Is there an easy way to add attributes (e.g. ajaxhref) and still have
> it validate (I know you can create a new DTD, based on the W3C ones,
> but is there another way)? The W3C say not to use custom DTD's (http://
> www.w3.org/Style/customdtd), but only mentions adding elements, not
> attributes. I looked at Html 5, but that is still a work in progress
> and does not contain an appropriate atrribute:
> http://www.whatwg.org/specs/web-apps/current-work/#the-a.
>   
The W3C validator does not execute JavaScript so if you add attributes 
via JavaScript your page should validate if it is compliant without 
JavaScript. However, this is a grey area as some would consider that 
cheating :)

> Ideally, I want the tabs to show whether or not JavaScript is enabled.
> I guess that would mean adding the UI CSS classes (ui-tabs-*) to
> elements - that wouldn't break prevent the plugin from working though
> would it?
>   
Yes, you will need to add in the ui-tabs-* classes manually. I don't 
think it will break UI Tabs but give it a try and let us know.

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