Lists Home |
Date Index |
Len Bullard wrote:
>So you want to go from this
><myElement oncontextmenu="doPopup(); return false;">Something</myelement>
> (some CSS)
><popup class="mylinktype" >
>or something similar?
I wouldn't even want to store it as a "popup" element. Pop-ups are device
specific; many devices can't do it. Here's a more semantic example inspired
by RFCs. Imagine that internally the IETF stores this:
<rfc num="1111"/> <!-- or however they choose to reference another RFC
Then, they convert it to something like what you showed originally with one
stylesheet for web delivery, a sidebar with background shading for print
delivery with another stylesheet, etc.