This solution sounds nice. I'm not a custom attributes fan either, but for this case I hadn't found yet a way that could take advantage of the custom selectors :lt() and :gt().
Le 26 janv. 07 à 17:43, Andreas Wahlin a écrit : > Isn't writing your own custom doctype like creating your own > standard, and then you mights as well not follow any standard. > I just put in a "trigger" class in the class attribute, then follow > up every setting with json. > > <div class="calendarday {selectableday: 1}">24</div> > > andreas > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/