Support » Plugins and Hacks » CM Tooltip Glossary » [Resolved] Making it touch devices compatible

[Resolved] Making it touch devices compatible

  • Hi,

    I’d like the plugin to be compatible on touch devices. Once the tooltip is displayed on the iPad for example, I can’t hide it afterwards.

    I’m trying to find what to add in the glossary.php file, it should be something like :


    I can figure out the onTouchSomewhereElse part of it 🙂

    Thanks for any help.


Viewing 2 replies - 1 through 2 (of 2 total)
  • I found a way which works out almost perfectly, but might not well implemented…

    Modifications to make :

    in tooltip.js :

    I added a variable visible=false; that becomes true when show() is called and false when hide() is called.

    Then below the hide() function I added my own toggle function :

                        if (visible){

    then in glossary.php add this after the onmouseover and onmouseout events :

    onClick="tooltip.toggle(\'' . $glossaryItemContent . '\');"

    Onlydownside is if you click on your glossary word the tooltip will disappear even if you are still hovering it. (Links to the glossary page have to be disabled).

    Plugin Author CreativeMinds


    We added onclick event on tooltip, so if you using touch device, you just need to click on the tooltip to hide it. (Ver 1.6)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Making it touch devices compatible’ is closed to new replies.