Hi Guys,
I'm wondering why a mouseenter/leave function doesn't work in IE, but works in all other browsers?
When mouse entering, a tooltip should appear & a little pinched tail fades in. In IE, only hovering over the imgborder element (which is above the img & is positioned absolutely) produces the tail. When further hovering into the image, the tail disappears.
My Script:
- $('.exhibit_tooltip_imgbord').on({
- mouseenter: function() {
- if ("%id=tailstyle%" == "pintri") { /* pinched triangle mouseenter */
- $('.exhibit_tooltip_bg').promise().done(function() {
- $('.pintrib, .pintri1, .pintri2').animate({opacity: 1}, 1500)})}
- $('#exhibit_tooltip_img').trigger('mouseenter')},
- mouseleave: function() {
- if ("%id=tailstyle%" == "pintri") { /* pinched triangle mouseleave */
- $('.exhibit_tooltip_bg').promise().done(function() {
- $('.pintrib, .pintri1, .pintri2').animate({opacity: 0}, 100)})}
- $('#exhibit_tooltip_img').trigger('mouseleave')}});
How do I fix this for IE?
Thanks, Bill