Как скрыть видимость элемента DIV, прикрепленного к строке случайных чисел?Jquery

Программирование на jquery
Ответить
Гость
 Как скрыть видимость элемента DIV, прикрепленного к строке случайных чисел?

Сообщение Гость »


На моем веб-сайте включены всплывающие подсказки, но я хочу скрыть всплывающие подсказки, которые появляются специально при встраивании видео. Я попытался проверить веб-страницу и получил следующий код, который появляется только при наведении на эти элементы курсора. So I tried adding in these "fixes" but the random numbers attached to "#tippy-" change every time, and make it nearly impossible to target and toggle off its visibility for good. So how can I go about targeting every number possible attached to "#tippy-" to keep this element hidden?

Код: Выделить всё

#tippy-9, #tippy-8 {
display: none !important;}
#data-tippy-root {
display: none !important;
visibility: none !important;}
EDIT: I've tried all the following solutions in the replies saying I should target the tooltip elements with "[data-tippy-root]" or "[id^=tippy]" but this gets rid of every single tooltip instance on the webpage altogether. What I want is only to target the tooltips that appear when hovering over youtube video embeds.
Another piece in the code I found that's contributing to this is the following, but I don't know how to include and target this in order to hide the tooltip here either when its number at the end is also a changing value.

Источник: https://stackoverflow.com/questions/781 ... m-number-s
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Jquery»