enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

deactivate() doesn't work. See http://jsfiddle.net/h3Zq6/1/ #88

Closed gbmhunter closed 10 years ago

gbmhunter commented 10 years ago

deactivate() doesn't seem to work, as shown by the example at http://jsfiddle.net/h3Zq6/1/.

enyo commented 10 years ago

Hey, that's because you didn't include the CSS. Here's the working example with the CSS included: http://jsfiddle.net/h3Zq6/15/

gbmhunter commented 10 years ago

Weird, that doesn't look anything like the JsFiddle I was using before. It doesn't even call deactivate? And is the CSS important for the deactivate call to work?

gbmhunter commented 10 years ago

Here is a good test case... http://jsfiddle.net/gbmhunter/7sMdH/

enyo commented 10 years ago

Hi sorry, but this is the same fiddle as before. Before you share you need to press update so it saves the changes.

And CSS is absolutely necessary so tooltops properly hide and stuff. But deactivating them should still work.

gbmhunter commented 10 years ago

Ahhh, that would of been the problem the first time to.

Try this...http://jsfiddle.net/gbmhunter/7sMdH/2/

oskrgg commented 3 years ago

It doesn't work when I initialize the tooltip (new Opentip(...)) and inmediately try to deactivate. As @gbmhunter mentioned:

deactivate() doesn't seem to work, as shown by the example at http://jsfiddle.net/h3Zq6/1/.

Any idea?