Forum - jschmidt-systemberatung.de

× jmootips tooltips Paket für Joomla

Click to Open function possible?

  • Kirk Williams
  • Autor
  • Besucher
  • Besucher
10 Jahre 3 Monate her #865 von Kirk Williams
Click to Open function possible? wurde erstellt von Kirk Williams
Greetings, and thank you for offering such a useful extension!

I would like to know if there is any way to edit this plugin to force users to mouse click to open the tooltip (instead of simply hovering over).

I am working with a model using many instances on single pages; such a tweak would improve the usability of this extension in my case.

Thanks in advance, and again, kudos on this quality product!

Best,
Kirk

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
10 Jahre 3 Monate her #866 von jochen
jochen antwortete auf Click to Open function possible?
hi,

Nature of tooltips is: If a user hovers the mouse pointer over an item (which is often underlined), without clicking it, and a tooltip will appear.
If you are using mootools framework you may change this behaviour:

1. edit/change jmootips-min.js (in directory "../plugins/content/jmootips/js"
change:
var startEvent=parms.focus?"focus":"mouseenter"
to:
var startEvent=parms.focus?"focus":"click"
2. change plugin parm "Close Tooltip" to "No" (otherwise tooltip will close if mouse pointer leaves target)
3. make sure that jmootips-min.js javascript gets reloaded and is in effect
Folgende Benutzer bedankten sich: Kirk Williams

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Kirk Williams
  • Autor
  • Besucher
  • Besucher
10 Jahre 3 Monate her #868 von Kirk Williams
Kirk Williams antwortete auf Click to Open function possible?
After following your instructions, the plugin is behaving exactly as I had hoped. Thank you so much!

And I completely appreciate that my use of this extension is more of a "popup" than a "tooltip" (I probably should have explained in my previous post), however with this configuration it is allowing me to achieve exactly what I was hoping to do with the site.

Thank you again for your prompt reply and your efforts in producing this code!!!

Best,
Kirk :)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
10 Jahre 3 Monate her #869 von jochen
jochen antwortete auf Click to Open function possible?
hi,

thanks for your feedback! I've taken your suggestion and added option to open tips with a mouseclick. You may update with joomla update-function or download/install Version 1.1.2, which supports this with parameter "openonclick" or plugin settings. Option works with mootools and bootstrap javascript frameworks.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Kirk Williams
  • Autor
  • Besucher
  • Besucher
10 Jahre 3 Monate her #870 von Kirk Williams
Kirk Williams antwortete auf Click to Open function possible?
Again, Thank you for your help!

I'm using this plugin for a catalog for local PTA. A pre-production example can be seen at: www.kirkkwilliams.com/wdscrip/index.php/scrip-cards

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.159 Sekunden
Powered by Kunena Forum
Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbesssern. Auf keinen Fall werden persönliche oder vertrauliche Daten gespeichert oder weitergegeben.