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/26 16:05] – 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 23: | Ligne 28: | ||
</ | </ | ||
- | .img-legend { text-decoration: | + | .img-legend, |
- | .img-legend-wrapper { display: inline-block; } | + | .img-legend: |
+ | a: | ||
+ | |||
+ | text-decoration: | ||
+ | font-size: 0.9em; | ||
+ | color: | ||
+ | } | ||
</ | </ |