paulkinzett / toolbar

A tooltip style toolbar jQuery plugin
http://paulkinzett.github.com/toolbar/
MIT License
2.3k stars 321 forks source link

Initiate on Hover #21

Closed ConceptFusion closed 10 years ago

ConceptFusion commented 11 years ago

Is it possible to initiate the toolbar on hover as opposed to on click?

paulkinzett commented 11 years ago

Hi,

I haven't tested this but it should be as simple as changing the event on line 55 from 'click' to 'mouseover'.

Cheers,

SuggeElson commented 11 years ago

You need to change the whole block

self.$elem.on({ mouseenter: function(){ self.show(); }, mouseleave: function(){ self.hide(); } });

msm2020 commented 10 years ago

@SuggeElson but you can't select any button because it will be closed before fire them .

msm2020 commented 9 years ago

thank you very much