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

Dynamically set tip width for tooltips in different use #116

Open Ornithologist opened 9 years ago

Ornithologist commented 9 years ago

I used to be using the max-width css property for opentip-container, but now I encounter something tricky. There are 2 different type of tooltips in my website, one with preferably small width, the other one on contrary should stay big all the time. I would like to know any way to set width or max-width under style{}, or any workaround like assigning class to tooltips exists? Any help appreciated!

ghost commented 9 years ago

I need this as well. Bump.