ack, i just realized i misread pedalpete's solution; each click will
only get interpreted once, but depending on where the click happens
determines whether or not the <a> tag or the js will handle it. this
smacks of wrongness. let's examine other ways to handle this:

1. expand the size of the <a> to completely fill the <td>, which is
not a good solution if this requires placing a block element in an
inline element
2. leave out the <a> tag completely, putting your link in the title of
an existing element, which is semantically poor and may negatively
impact accessibility
3. just hide the <a> tag, so it cannot be clicked on, which just
doesnt seem palpable. hmmmm.....
4. remove the <a> tag from the dom once the link is extracted, which
seems a bit like the unnecessary kidney operation i had has a youth
5. remove the 'href' from the <a> tag once the link is extracted, not
as invasive as #4 but still questionable

i'd vote for #3 but don't really like any of these approaches. can
anyone come up with a "correct" solution that will allow us all to
sleep better at night???

Reply via email to