js

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
js [2023/02/14 16:18] avillepreuxjs [2024/04/22 14:36] (Version actuelle) avillepreux
Ligne 1: Ligne 1:
- 
-<html><script src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.js"></script></html> 
- 
 <JS> <JS>
  
 /* THIS SCRIPT IS COMMON TO ALL INTRANET - MODIFY WITH CARE  */ /* THIS SCRIPT IS COMMON TO ALL INTRANET - MODIFY WITH CARE  */
  
-jQuery(document).ready(function() +console.log("Loading cyanide scripts");
-+
-    // Gérer les ancres "<WRAP anchor #ancre/>" +
- +
-    jQuery('.wrap_anchor').each(function()  +
-    { +
-        var id = jQuery(this).attr('id'); +
-         +
-        jQuery(this).replaceWith('<a class="anchorjs-link " href="#'+id+'" aria-label="Anchor link for: '+id+'" data-anchorjs-icon="" style="font-family: anchorjs-icons; font-style: normal; font-variant: normal; font-weight: normal; line-height: 1; padding-left: 0.375em;"></a>'); +
-    }); +
- +
-});+
  
 </JS> </JS>
  
-<JS> +<html><script src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.1/dist/js.cookie.min.js"></script></html>
- +
-jQuery(document).ready(function() +
-+
-     +
-//  Bouton "élargir la page" +
- +
-    if (typeof(fullwidth_toggle) === 'undefined'+
-    { +
-        fullwidth_toggle = true; +
-     +
-        jQuery('.dw-page-icons>ul').prepend('<li><a class="fullwidth_toggle" href="javascript:void(0);" style="text-decoration: none">◁▷</a></li>'); +
- +
-        jQuery(".fullwidth_toggle").click(function() { if (jQuery(".fullwidth_toggle").html().indexOf("◁▷") > -1) { jQuery(".fullwidth_toggle").html('▷◁'); jQuery(".container").css("width", "calc(100vw - 18px)"); jQuery(".container").css("max-width", "100%");       }  +
-                                                                                                              else { jQuery(".fullwidth_toggle").html('◁▷'); jQuery(".container").css("width", "calc(100vw - 18px)"); jQuery(".container").css("max-width", "1300px");     } }); +
-    } +
-     +
-}); +
- +
-</JS> +
- +
-<JS> +
- +
-jQuery(document).ready(function() +
-{  +
-    jQuery(".tools-animation").removeClass("tools-animation"); +
-     +
-}); +
- +
-</JS> +
- +
- +
- +
- +
  
 +{{page>/js/new_dokuwiki}}
 {{page>/js/clipboard}} {{page>/js/clipboard}}
 {{page>/js/inline_toc}} {{page>/js/inline_toc}}
Ligne 62: Ligne 15:
 {{page>/js/dokuwiki_tools-animation_disable}} {{page>/js/dokuwiki_tools-animation_disable}}
 {{page>/js/layout_filters}} {{page>/js/layout_filters}}
 +{{page>/js/storm_hide}}
 {{page>/js/nacon_hide}} {{page>/js/nacon_hide}}
 {{page>/js/gif}} {{page>/js/gif}}
Ligne 74: Ligne 28:
 {{page>/js/wrap_jenkins}} {{page>/js/wrap_jenkins}}
 {{page>/js/wrap_img-extend}} {{page>/js/wrap_img-extend}}
 +{{page>/js/wrap_diagram-url}}
 {{page>/js/wrap_teamsdoc}} {{page>/js/wrap_teamsdoc}}
 {{page>/js/wrap_anchor}} {{page>/js/wrap_anchor}}
- 
- 
  
  • js.1676387927.txt.gz
  • Dernière modification : 2023/02/14 16:18
  • de avillepreux