$GLOBALS['styleSheets'] = array();
// Resources needed for every page.
$GLOBALS['topScripts'][] = JQUERY_CDN_JS;
+ $GLOBALS['bottomScripts'][] = MEDIA_BASE_URL . 'js/foundation.min.js';
+ $GLOBALS['bottomScripts'][] = MEDIA_BASE_URL . 'js/pageSetup.js';
}
/**
--- /dev/null
+$(document).foundation();
+$(document).ready(function() {
+ $('.off-canvas-list').find('a.toggle').click(function() {
+ $(this).toggleClass('open');
+ $(this).siblings('ul').toggleClass('open');
+ });
+ $("#main .row .small-12 p").attr("class", "small-12 columns");
+});
\ No newline at end of file
<a class="exit-off-canvas"></a>
</div>
</div>
-
{bottomScripts:h}
- <script src="{mediaBaseURL:h}js/foundation.min.js"></script>
- <script>
- $(document).foundation();
- </script>
- <script>
- $(document).ready(function(){
- $('.off-canvas-list').find('a.toggle').click(function(){
- $(this).toggleClass('open');
- $(this).siblings('ul').toggleClass('open');
- });
- $( "#main .row .small-12 p" ).attr("class","small-12 columns");
- });
- </script>
</body>
</html>