Re: [jQuery] Giving up regular DOCTYPES

2007-01-26 Thread Klaus Hartl
Andreas Wahlin wrote: > 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. > > 24 > > andreas Sure... I just wanted

Re: [jQuery] Giving up regular DOCTYPES

2007-01-26 Thread arnaud sellenet
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 > s

Re: [jQuery] Giving up regular DOCTYPES

2007-01-26 Thread Andreas Wahlin
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. 24 andreas ___ jQuery mailin

Re: [jQuery] Giving up regular DOCTYPES

2007-01-26 Thread Klaus Hartl
Kristinn Sigmundsson wrote: > It is always (if not then atleast almost always) possible to do thing > like you describe without using custom attributes, BUT don't you think > that arnauds example makes more sense, codewise? > > That way you can set the attribs easily > ($(something).attr("selectab

Re: [jQuery] Giving up regular DOCTYPES

2007-01-25 Thread Kristinn Sigmundsson
It is always (if not then atleast almost always) possible to do thing like you describe without using custom attributes, BUT don't you think that arnauds example makes more sense, codewise? That way you can set the attribs easily ($(something).attr("selectableday, "1")) and then get all the select

Re: [jQuery] Giving up regular DOCTYPES

2007-01-25 Thread Olaf Bosch
arnaud sellenet schrieb: > Do you think of a better way, without using a custom attribute (I'm > not 100% sure but seems like you can't use numeric classes nor id > right ?) Yes you have a way. Append a second class, so: January 1 2 23 24

Re: [jQuery] Giving up regular DOCTYPES

2007-01-25 Thread arnaud sellenet
Hi ! I'm new to the list, and to jQuery too (I've played a little with prototype, but jquery realy seems worth a try) This is an example I think, where using your own attributes gets useful, not to say necessary : I'm writing a calendar where user can select a days range clicking on the fir

Re: [jQuery] Giving up regular DOCTYPES

2007-01-24 Thread Ⓙⓐⓚⓔ
I gave up relying on custom doctypes when I realized no matter how nice a dtd I made, the only use was at the validaters! I looked around for syntax driven editors, and found only a few and they were schema based! Now I just use XHTML 1.1 and play my own tricks... with the help of jquery! is jus

[jQuery] Giving up regular DOCTYPES

2007-01-24 Thread zelexir
So, I had a wakeup call the other day when looking for a solution to a problem of mine when I bumped into this: http://www.cs.tut.fi/~jkorpela/html/own-dtd.html Creating your own DTD for HTML validation . So I'm wondering, why this isn't more widespread. Now I can write code like this: This is a