Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #111920

    I’ve a page with more than 300 buttons.

    On each button I need a tooltip but I’ve only 10 different tooltips (many buttons have the same tooltip).

    Creating such tolltips by js takes a long time : the show time of the page goes from 2 to 7 secs.

    Is it possible create a tooltip and attach it to many buttons ?

    How, using css classes as selector?

    I saw there’s template but I didn’t understand how to use it in this situation.

    Tks

    #111924

    I created a testcase on codpenn

    You’ll see that if You comment the last appendChild it goes faster in a visible way.

    Tks

    https://codepen.io/tullio0106/pen/xbKEZjz

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.