JQuery: Cluetip questions - turning off prompts and maximum height

  • How to temporarily disable tips? I see the ability that is referenced on the site a couple of times, and in this forum, but for some reason I canโ€™t find a team that disables them. I just need to turn them off a bit and then turn them back on.

  • Is there a way to give a hint to the maximum height? I have a bunch of tooltips, some of which are only one line, some of which are 100 lines. I would like single-line tooltips to appear very small, and large ones to appear large, with a scrollbar for really large ones.

Thank.

Edit: Sorry, not sure why I assumed everyone knew exactly what I was talking about.

http://plugins.learningjquery.com/cluetip/

Edit 2: The maximum height works for me. My problem was its implementation using the cluetip interface. All I had to do was specify some CSS to do this. However, there are problems with disabling hints. It seems like it should be simple, not sure why I can't figure it out!

+3
source share
1 answer
  • Yes, you can look here: http://plugins.jquery.com/node/8405#comment-3532 this basically means inserting a cluetip call into your "hover" (or something else) event handler of the source element and evaluate the condition before calling cluetip ...

  • "" . , .

:

, :

- , true , ( onActivate), ...

, , , true, , , ...

false, . - onClose ( 352, clueTipClose()).

todo , , ..., , , . SimpleTip http://craigsworks.com/projects/simpletip/, , .

+1

Source: https://habr.com/ru/post/1761744/


All Articles