joomla2.5 - Joomla tooltip not hiding -
my problem tooltips not hiding after cursor moved away text tooltip. can check page example of problem: http://federationgenealogie.qc.ca/nous-contacter (which simple com_contacts page)
but problem persists throughout website.
i've tried template override of com_contacts , change way tool-tips handled using: http://docs.joomla.org/how_to_add_tooltips_to_your_joomla!_website
$tooltiparray = array('classname' => 'mytooltipclass', 'showdelay'=>'500', 'hidedelay'=>'500', 'fixed'=>true, 'onshow'=>"function(tip) {tip.effect('opacity', {duration: 500, wait: false}).start(0,1)}", 'onhide'=>"function(tip) {tip.effect('opacity', {duration: 500, wait: false}).start(1,0)}"); jhtml::_('behavior.tooltip', '.hastip', $tooltiparray); ?>
only 'fixed'=>true
parameter works, feeling kind of works. since other parameters not working, not solution.
i've tried make own tooltip.js file containing:
window.addevent('domready', function(){ //do tips stuff in here... var zoomtip = new tips($$('.hastip'), { classname: 'mytooltipclass', //this prefix css class offsets: { 'x': 20, //default 16 'y': 30 //default 16 }, initialize:function(){ this.fx = new fx.style(this.tooltip, 'opacity', {duration: 1000, wait: false}).set(0); }, onshow: function(tooltip) { this.fx.start(0,.8); }, onhide: function(tooltip) { this.fx.start(.8,0); } }); });
but tooltip looks html alt, , changing css files according class names not work.
using tooltip extension not solution because need default registration , contact page of joomla work. , both use class="hastip"
and changing require me hacking can not durability reasons.
using firebug , chrome, not seems there conflict between javascripts.
any ideas?
Comments
Post a Comment