Changeset 93794 in spip-zone


Ignore:
Timestamp:
Dec 17, 2015, 11:26:00 PM (4 years ago)
Author:
p@…
Message:

Adapter les fichier -app a foundation 6

Location:
_plugins_/foundation_6/trunk/inclure
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/inclure/css/head-foundation-app.html

    r93756 r93794  
     1[(#REM) Ajouter les icone foundation si besoin ]
     2[(#CONFIG{foundation/foundation-icons}|oui)
     3[<link href="(#CHEMIN{lib/foundation-icons/foundation-icons.css}|direction_css)" rel="stylesheet"/>]
     4]
     5
    16[(#REM) On va chercher le CSS de foundation. ]
    27[<link rel="stylesheet" href="(#CHEMIN{css/app.css}|direction_css)" type="text/css" media="screen" />]
  • _plugins_/foundation_6/trunk/inclure/head-foundation-app.html

    r93756 r93794  
    1 [(#REM) Inclusion de modernizr, car c'est toujours hyper pratique ]
    2 [<script src="(#CHEMIN{bower_components/modernizr/modernizr.js})" type="text/javascript"></script>]
    3 
    4 [(#REM) Inclusion de fastclick ]
    5 [<script src="(#CHEMIN{bower_components/fastclick/lib/fastclick.js})" type="text/javascript"></script>]
    6 
    7 [(#REM) Foundation JS ]
    8 [(#CONFIG{foundation/javascript}|oui)
    9 
    10 [<script src="(#CHEMIN{bower_components/foundation/js/foundation.min.js})" type="text/javascript"></script>]
    11 
    12 [(#REM) Rustine pour charger app.js automatiquement ]
     1[(#REM) Inclusion des fichier Javascript si la config le permet ]
     2[(#CONFIG{foundation_6/javascript}|oui)
    133[<script type="text/javascript">
    14   $(function () {
    15     $.ajax({
    16       type: "GET",
    17       url: "(#CHEMIN{js/app.js}|texte_script)",
    18       dataType: "script",
    19       cache: true
    20     });
    21   });
     4  $.getScript("(#CHEMIN{bower_components/what-input/what-input.min.js})")
     5</script>]
     6[<script src="(#CHEMIN{bower_components/foundation-sites/dist/foundation.js})"></script>]
     7[<script type="text/javascript">
     8// Charger les script foundation
     9 $.getScript("(#CHEMIN{javascript/app.js})")
    2210</script>]
    2311]
Note: See TracChangeset for help on using the changeset viewer.