Ok, thank you for your response, and sorry to bother you.

I think i will have to adapt the script to strip off the numeric value
from the ID and create something lile id="rank-0", "rank-1" etc.

Before, i will have another newbie question : is it possible, for this
purpose, to use a completely forged attribute, something like rank="0"
rank="1" ?

(I think I know the answer, but is there ways to do it, is it valid,
and is mootools could handle non-w3c attribute?)

On 13 avr, 00:54, Sanford Whiteman <[email protected]>
wrote:
> > Damnation. One rule I forgot about. Maybe I could use idref ?
>
> Well,  no,  IDREF  has to be the ID of another element, hence the same
> naming  rules.
>
> Anyway,  it's  not  that  you *can't* use ID, it's just that you would
> have  to  use  an  alpha  prefix and then strip it off, i.e. you can't
> perform direct numeric operations on the value.
>
> -- S.


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to