Was I the first to mention it??? (<a href="http://lists.drupal.org/archives/development/2006-05/msg00955.html">http://lists.drupal.org/archives/development/2006-05/msg00955.html</a>)<br>
<br>
Just kidding, but this is some really wonderfull stuff. I'm already
using jQuery in Drupal projects and as I said, it's a perfect match.<br>
<br>
Regards, Anders<br><br><div><span class="gmail_quote">On 8/22/06, <b class="gmail_sendername">Morbus Iff</b> <<a href="mailto:morbus@disobey.com">morbus@disobey.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I mentioned that I started playing with jQuery, when I put the finishing<br>> touches on my hovertips module I planned to contribute it (for 4.7.x):<br>><br>> <a href="http://dave-cohen.com/node/1186">http://dave-cohen.com/node/1186
</a><br><br>I never did like this particular implementation. There are four types:<br><br> * Inside spans: <p>Whee! <span>you're hovering!</span></p>, which makes<br> it really ugly for screen readers or just general DOM goodness.
<br><br> * External divs, like you: <p>Whee</p> <div>you're hovering!</div><br> Also can be ugly depending on where you place all the divs (at the<br> very end of the document? is that cleanly possible?). Would require
<br> you to match up IDs in two different places though.<br><br> * Alt/title hovers - based on the value of the title text. <p title=<br> "you're hovering!">Whee!</p>. This one's bad because you can't use
<br> HTML in your tip very cleanly.<br><br> * JS events, such like <p onmouseover="tooltip_on('you're hovering!')"<br> onmouseout="tooltip_off()">Whee!</p>. I tend to like this one (and
<br> implemented it in my game.module, not via jQuery though) the most<br> because it a) doesn't pollute the DOM, b) don't harm screen readers,<br> c) allows HTML, d) keeps everything in one place, e) doesn't require
<br> bookkeeping (which ID goes with this element?).<br><br>Comments?<br><br>[1] <a href="http://cvs.drupal.org/viewcvs/drupal/">http://cvs.drupal.org/viewcvs/drupal/</a><br> contributions/modules/game/game.moduleview=markup
<br><br>--<br>Morbus Iff ( omnia mutantur, nihil interit )<br>Technical: <a href="http://www.oreillynet.com/pub/au/779">http://www.oreillynet.com/pub/au/779</a><br>Culture: <a href="http://www.disobey.com/">http://www.disobey.com/
</a> and <a href="http://www.gamegrene.com/">http://www.gamegrene.com/</a><br>icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / <a href="http://jabber.org">jabber.org</a>: morbus<br></blockquote></div><br>