source: spip-zone/_plugins_/foundation_6/trunk/inclure/head-foundation.html @ 93788

Last change on this file since 93788 was 93788, checked in by p@…, 5 years ago

Utilier $.getScript plutôt que la déclaration complète

  • Property svn:executable set to *
File size: 800 bytes
Line 
1[(#REM)
2    Note Didier:
3    On place le fichier perso.css à la FIN après les CSS de la balise #INSERT_HEAD,
4    sinon on ne peux pas intervenir sur les styles de base de foundation.
5]
6
7[(#REM) Ajouter les icone foundation si besoin ]
8[(#CONFIG{foundation/foundation-icons}|oui)
9[<link href="(#CHEMIN{lib/foundation-icons/foundation-icons.css}|direction_css)" rel="stylesheet"/>]
10]
11
12[(#REM) Inclusion des fichier Javascript si la config le permet ]
13[(#CONFIG{foundation_6/javascript}|oui)
14[<script type="text/javascript">
15  $.getScript("(#CHEMIN{lib/foundation-6/js/vendor/what-input.min.js})")
16</script>]
17[<script src="(#CHEMIN{lib/foundation-6/js/foundation.js})"></script>]
18<script type="text/javascript">
19  $(function () {
20    $(document).foundation();
21  });
22</script>
23]
Note: See TracBrowser for help on using the repository browser.