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

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

Charger app.js avec $.getScript

  • Property svn:executable set to *
File size: 825 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// Charger les script foundation
20 $.getScript("(#CHEMIN{javascript/app.js})")
21</script>]
22]
Note: See TracBrowser for help on using the repository browser.