ok... i've seen the code. one question though...
does html5ify only apply to the data-meta attribute? if yes, what happens to the new tags ( et.c); if no, then how is it possible.
i've been doing some work on backward compatibility for html5 using the jquery-mobile (1.0a) plugin. after much analysis of jquery-mobile and countless reading of w3c's html4 specs., i adopted an approach to tweaking the jquery-mobile code for backward compatibility.
basically, what html5 does is to create DOM elements representing various DHTML and XHTML elements. We're used to using the and tags with #id and .class attributes. jquery simply checks the html document for these elements and attributes and applies jquery functionalities to them.
I figured that we can have these html5 attributes presented as css classes while the corresponding jquery functionalities applied to them simply check for these classes in the DOM and execute.
for the new tags (, et.c), we apply the same approach only this time we use the good old tag #id'ed as header, footer or whatever. we can then apply the classes we already defined eariler for the new html5 attributes to the tag to represent the new beahaviours.
thus, this:
<a href="#" rel="nofollow"> text-1 </a>
<a href="#" rel="nofollow"> text-2</a>
brilliant-mind-isn't-it
becomes:
<a href="#" rel="nofollow"> text-1 </a>
<a href="#" rel="nofollow"> text-2</a>
brilliant-mind-isn't-it
lemme know what you think of this approach and if there may be any possible issues due to my choice of approach.
thanks.
Trending Articles
More Pages to Explore .....