Knowledge Base support case for Likno Web Tooltips Builder, abstracted and stripped of all user’s private info.


Initial Email From:
Paolo
Initial Email Subject: Only one tooltip is shown 
Support Case Month: November 2012

Dear Kostas,

Hope you are doing fine.

I have a question about tooltip builder. I tried to use it with dynamic data (like for edit/delete icons in records listing pages) but it works only on the first 2 icons (first record) of the list while for others is not showing.

How do I make it work for all? Is there any different id= code to be used?

Many thanks,
Paolo

Reply From: Likno Customer Support

Dear Paolo,

It would help to see the page with the problem, but I think I guessed what the problem is.

In HTML each “id” is supposed to be unique and having duplicate “ids” in a page is considered invalid. Most browsers will give this “id” to the first element and remove it from the rest, while others (like IE) will produce an error and will not work at all.

If you want to use the same tooltip in several elements, then you need to use the “class” instead of the “id”

For example:

choose class to use same tooltip

<a href="…" class="addButton">add</a>

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

 

Tags: , , , , , , , , , ,