Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| js:img_legend [2023/04/27 16:40] – avillepreux | js:img_legend [2024/12/03 09:52] (Version actuelle) – avillepreux | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| jQuery(function() { if (typeof img_legend === ' | jQuery(function() { if (typeof img_legend === ' | ||
| - | jQuery(" | + | console.log(" |
| + | |||
| + | jQuery(" | ||
| var title = jQuery(this).attr(" | var title = jQuery(this).attr(" | ||
| if (title == "" | if (title == "" | ||
| + | |||
| + | console.log(" | ||
| $link = jQuery('< | $link = jQuery('< | ||
| Ligne 13: | Ligne 17: | ||
| jQuery(this).after($link); | jQuery(this).after($link); | ||
| - | if (jQuery(this).hasClass(" | + | if (jQuery(this).hasClass(" |
| - | if (jQuery(this).hasClass(" | + | if (jQuery(this).hasClass(" |
| + | if (jQuery(this).hasClass(" | ||
| }); | }); | ||
| Ligne 24: | Ligne 29: | ||
| .img-legend, | .img-legend, | ||
| - | .img-legend: | + | .img-legend: |
| + | a:hover .img-legend | ||
| | | ||
| text-decoration: | text-decoration: | ||