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

How to get started using the opentip? #73

Closed yan-chen closed 10 years ago

yan-chen commented 10 years ago

Hi, I have a problem with getting started using the opentip. I want to use the opentip in my angularjs application. I have downloaded the opentip.css, adapts-jquery.js and popentip.js files and embedded them all, but I was not able to create the tooltip. I tried just using your example: < div data-ot="The content" data-ot-delay="2" data-ot-hide-trigger="closeButton" >Hover me< /div > but it did not do anything. I know I must be missing some steps or doing something wrong, but I am just now sure what. Can you please help me? Thank you.

misiek08 commented 10 years ago

Not only you. I have empty tooltips using opentip-jquery.min.js

enyo commented 10 years ago

You have to use the files in the downloads folder. Just use opentip-jquery.js and you're good to go.

enyo commented 10 years ago

@misiek08 What do you mean empty tooltips? Are you maybe missing the CSS file?

misiek08 commented 10 years ago

http://max-kino.pl/index.html

Hover Images below Main slider

misiek08 commented 10 years ago

Oh, designer used jquery 1.3.2. After changing to 2.0.3 works like a charm for me.