Try this:

1. $("[title]:not(.fast)")...
2. $("[title].fast")....

Jörn

On Tue, May 5, 2009 at 11:30 AM, nomad <jeste.z...@gmail.com> wrote:
>
> Newbies question:
> I need different definitions of tooltip on one page:
>
> 1/ Replace the default tooltip of all title elements
>
> $('*[title]').tooltip({
>        delay: 500
> });
>
> AND
>
> 2/ Replace only Title elements within class "fast" (e.g. <a
> class="fast" href="..." title="fast tooltip">Fast</a> )
>
> $('*[title].fast').tooltip({
>        delay: 0
> });
>
> But first definition overrides the second one all the time.
> I moved "general" definition 1/ on the first position of js and the
> "class based" 2/ on the last one but no success.
> Is there any solution? What do I wrong?
>

Reply via email to