Menu icon Foundation
Firefox shows warning:Unresponsive Script because of tooltip

i'm showing around 500 products with tooltip on page in chrome, safari it works fine but Firefox shows warning:Unresponsive Script..

if i remove tooltip tags it works fine, is there any solution for this ?

tooltipfirefox

i'm showing around 500 products with tooltip on page in chrome, safari it works fine but Firefox shows warning:Unresponsive Script..

if i remove tooltip tags it works fine, is there any solution for this ?

Preston McPeak over 5 years ago

Mind showing us some screenshots and code?

Yasir over 5 years ago

below is the code this is in wordpress loop
```HTML

    <li data-tooltip  data-options="disable_for_touch:true" class="has-tip" title="title goes here"><a href="link_here"><img src="image_goes_here.jpg" alt=""></a></li>

Yasir over 5 years ago

i get this message

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: path/themes/theme_name/js/vendor/jquery.js:24

if i remove tooltip data it works fine

Haiden Taylor about 5 years ago

Yasir,

I am getting the same messages with my tooltips, did you have any luck sorting this out?

Jason Scarfe about 5 years ago

I seem to be having the same issue as the users above except that i'm using the modal boxes instead of the tooltips.

As soon as I take out the offending .js file in foundation/vendor the site stops timing out - obviously this stops anything needing jquery from working.

Any ideas guys?

Marc Reniu almost 5 years ago

I am using foundation-rails gem for a Rails app, with tooltips and modal boxes, with the same issue.

In his specs, its says that you have to include in the Modernizr script. After some try-and-catch I found that if I don't use this javascript, the page works perfectly and the "busy" message disapear. I have to says that the app includes the jQuery library for Rails.

sankhabanerjee almost 5 years ago

Can you please provide any link for checking?

Damon H almost 5 years ago

Here is an example:
http://popsiclepeople.com/foundation_tooltip/

Getting error at: /js/vendor/jquery.js:14
Also have seen it at 24.

The tooltips (on this example) works fine at 100, but not at 200 and over.

Hope this helps. I'd love to get this working again.

D

Alex Levine about 4 years ago

I am also having this issue. It appears to be a quantity thing like Damon mentioned. Firefox can't seem to handle too many of these tooltips.