Comments

berin’s picture

Title: Not working with jQuery Version 1.7 » Not working with jQuery update Version 1.7
Sherbet’s picture

Nor anything newer it seems. (I tried 1.8 and 1.9). Reverting to 1.5 worked for me, but that's not an option. I'll see if I can find out how to get it to work with newer versions of jQuery too. If anyone has a quick solution, feel free to post it.

Jorgee’s picture

I don't know what your problem was, but I had a console error

$text.outerHeight is not a function

What I did to fix it was to assign $text to the JQuery selector first, and only after that modify it with the original "append" and "css" functions, because I saw it was an empty object when issuing the error:

var $text = $('<div class="bt-content"></div>');
$text.append(content).css({
       padding: opts.padding,
       position: 'absolute',
       width: (opts.shrinkToFit ? 'auto' : opts.width),
       zIndex: opts.textzIndex,
       left: shadowShiftX,
       top: shadowShiftY
}).css(opts.cssStyles);

I am using JQuery 2.1.4 and the tooltips are so far working ok.

kniekel’s picture

Thank you Jorgee (#3),

it seems you have a solution for my everlasting problem.

Unfortunately I have no idea where to put this snippet. I didn't find anything similar to that in the module.

Can you help me?

Edit: OK, well, ehm, I found it. In Beautytips. I only searched in Calendar Tooltips. :-)

Had to add
jQuery.curCSS = jQuery.css;
to make it work with jquery 1.8

sgurlt’s picture

I created a patch based on #3 for the beautytips module: https://www.drupal.org/node/2617148#comment-10576808

roball’s picture

Title: Not working with jQuery update Version 1.7 » Does not work with jQuery >= 1.8
Category: Bug report » Support request
Priority: Critical » Normal

When using the "jQuery Update" module, the highest possible Default jQuery Version selection is "1.7" for me. Selecting "1.8" or higher would cause the tooltip to no longer appear.

arun guddeti’s picture

Does it effect other functions if we reduce the version of jQuery from 1.8 to 1.7 in module configuration? using D7

avpaderno’s picture

Status: Active » Fixed

I am closing this support request, as it has been answered from comment #6.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.