Problem with FancyBox

I set the slideshow popup using FancyBox / example), which allows you to add a caption below the popup using the title tag.

Unfortunately, when you hover over a thumbnail, the title tag is displayed with all the stylized code that looks pretty bad.

Is there a way to disable heading hover without disabling the actual style?

+3
source share
1 answer

If the tag has an attribute titlewhen you hover over it, browsers that support the attribute titlewill show it as a tooltip. I do not know how to change this behavior.

FancyBox (, , , ), . , . :

  • , data-caption, title, . ( , title.) ( , data-xyz, HTML5 .)
  • title , . ()
  • title , , . ( blech)

# 1.

+3

Source: https://habr.com/ru/post/1751555/


All Articles