Zururs 재단 jQuery 의존성
-
12-12-2019 - |
문제
"Nofollow"> Zurbs Foundation 에서 jQuery가 필요합니다.WordPress에서 내 function.php 파일을 구축하고 있으며 jQuery 파일 이후로드 할 수 있도록 스크립트에 대한 종속성을 설정하고 싶습니다.다음은 파일 목록이 있습니다
- modernizer.js
- foundation.js
- app.js
jQuery에서 의존성이있는
해결책
이 질문은 약간 오래되었으므로 질문은 지금 정확히 동일하지 않습니다 :
<head>
<script src="js/modernizr.foundation.js"></script>
</head>
<body>
...
...
<!-- end of container/all content -->
<script src="js/jquery-1.7.2.js"></script>
<!-- all the jQuery dependent files begin with 'jquery.' and are separated so
you can remove what you don't use -->
<script src="js/jquery.reveal.js"></script>
<script src="js/jquery.orbit-1.4.0.js"></script>
<script src="js/jquery.customforms.js"></script>
<script src="js/jquery.placeholder.min.js"></script>
<script src="js/jquery.tooltips.js"></script>
<!-- app.js is basic functions that you're supposed to edit -
it requires jQuery to start as well -->
<script src="js/app.js"></script>
</body>
. 제휴하지 않습니다 StackOverflow