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

It should be possible to use arrays in html data-ot-* attributes. #58

Open Burtsev-Alexey opened 11 years ago

Burtsev-Alexey commented 11 years ago

data-ot-hide-triggers='[ "closeButton", "trigger" ]' - I want to hide tooltip on close or trigger element.

Vinalynn commented 11 years ago

i have the same problem

enyo commented 11 years ago

Yeah I'm sorry... Arrays aren't working as html attributes right now. I'll implement that in the next version.

For now, you'll have to create the Opentips programmatically if you want to do so.