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 can I change default options. #96

Open SahilMepani opened 10 years ago

SahilMepani commented 10 years ago

Hello,

I wanted to change the default options for e.g. style, offset, borderradius etc.

How can I change it. I tried.

Opentip.offset: [ 0, -25 ]; Opentip.defaultStyle = 'dark';

Neither of them work.

brollb commented 8 years ago

I realize this is probably no longer a problem (it's been over 2 years) but have you looked here?

tl;dr - try Opentip.styles.standard.offset = [0, -25];