Skip to main content

Mouse hover over rating

More
11 years 4 days ago #216002 by florcar
-- url of the page with the problem -- : fabulosa.ch
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.4.44

Hi
I have a problem with the display of average rating when hovering over. See Image here:
www.fabulosa.ch/images/tooltipError.png
I have noticed that the the jQuery funtion for the tooltip is different than on site where it is working.
Working:
Code:
jQuery(document).ready(function() { jQuery('.hasTooltip').tooltip({"html": true,"container": "body"}); });
Not working:
Code:
jQuery(function($) { $('.hasTip').each(function() { var title = $(this).attr('title'); if (title) { var parts = title.split('::', 2); var mtelement = document.id(this); mtelement.store('tip:title', parts[0]); mtelement.store('tip:text', parts[1]); } }); var JTooltips = new Tips($('.hasTip').get(), {"maxTitleChars": 50,"fixed": false}); });
Do you have any clue where this could be coming from?
Thanks in advance for helping
Best regards

Please Log in or Create an account to join the conversation.

More
11 years 4 days ago #216004 by Xavier
Replied by Xavier on topic Mouse hover over rating
Hi,

The code used to generate that tooltip is:
Code:
<?php echo JHTML::tooltip($row->hikashop_vote_average_score.'/'.$row->hikashop_vote_nb_star, JText::_('VOTE_AVERAGE'), '', ' '.$row->hikashop_vote_total_vote.' '); ?>
And is in the view "vote / mini", please check that you have that code on your view and not an old one.

As you can see we use "JHTML::tooltip" which is a Joomla function, so you should not have issues with that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum