> >   <a href="javascript:ahah('Waldorf-Astoria-Photo.html','Photo');">photo</a>
> >
> > The best practice is to wire the event up, and to use a button when
> > the element is not truly a link.

How is this not a link?

You can link to a template that takes the data as a parameter:

<a href="hotels.php?h=waldorf" id="photo">photo</a>


The difference, of course, is the first example doesn't have a URI.
Your example does have a URI.  If clicking on an anchor element won't
ever take you to a new page (because there is no URI), don't use the
anchor element!

Ben
_______________________________________________
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to