I haven't test it but it makes sense to me.
$('.green').cluetip("#msg1");

On Dec 7, 1:46 pm, rolfsf <[EMAIL PROTECTED]> wrote:
> I'm using ClueTip, and loading the content  from some hidden divs
> using the default "rel" attribute.
>
> Is there a way I can do this without using the "rel" attribute?
>
> For example:
> I have some cells in a table:
>
> <td class="green"><a href="blah">99</a></td>
> <td class="red"><a href="blah">99</a></td>
>
> and some hidden divs:
> <div id="msg1">this is green</div>
> <div id="msg2">this is red</div>
>
> If I hover over an anchor inside a td with class="green", then I want
> to grab the content from div#msg1. Can I do this without having to
> add  rel="#msg1" to every "green" anchor?
>
> Thanks!

Reply via email to