Hi
i have a menu using the jquery code below
the menu will show tooltip when the mouse is click over a list in the menu
then tooltip will hide when we click the list or the tooltip
The problemCode://show tooltip when the mouse is click over a list element $("ul#social li").click(function() { $(this).find("div").fadeIn("fast").show(); //add 'show()'' for IE $(this).click(function () { //hide tooltip when the click moves off of the element $(this).find("div").hide(); }); });
1. I click a list in menu, a tool tip appear
2. click the tooltip/list the tooltip disappear
3. reclick the list in #1 the tooltip does not reappear
4. have to refresh page or click the list menu several time
only then tooltip will reappear again
how do i repeat code ? so the list is clickable
what do i need to add in the code ? TQ



Reply With Quote

Bookmarks