Hi chrisandy,

No need to apologize. We're glad to help.

You can apply a clueTip to anything you want. It doesn't have to reference an ID. For example, if you want to apply it to all links inside <ul class="uk">, you could do it like this:

$('ul.uk a').cluetip({sticky: true});

-- and put in any other options you want in there.

Let me know if you have any further questions.

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Oct 15, 2007, at 1:30 PM, chrisandy wrote:


Please forgive me but I'm very new to all this and was just building a
page to handle multiple instances of the clueTip 'sticky' effect
(example 4 on the demo page).

The big problem I get is that I have to use:

<ul class="uk">
<li><a id="sticky" class="plot4" href="name1.html"
rel="name1.html">The Estelle<em><img src="assets/images/developments/
mannerscourt/estelle/estelle-sm.jpg" alt="The Estelle" title="The
Estelle" />The Estelle is a lovely 3 bedroom property with more
details to go in here...<span></span></em></a></li>

<li><a id="sticky" class="plot1" href="name2.html"
rel="name2.html">The Estelle<em><img src="assets/images/developments/
mannerscourt/estelle/estelle-sm.jpg" alt="The Estelle" title="The
Estelle" />The Estelle is a lovely 3 bedroom property with more
details to go in here...<span></span></em></a></li>
</ul>

Obviously duplicate IDs is a no no and only the first item in the list
works so how do I get around this?

Many thanks in advance.


Reply via email to