Menu icon Foundation

My Posts

No Content

My Comments

Allen O'Leary commented on Steven Mapes's post over 5 years

Just to clarify for those of us who don't have much JavaScript knowledge.

This works by placing the JS quoted above in the tag at the bottom of the page. If you put it in the top it won't load. So the bottom of the page will look something like this using above example:

    <script src="js/vendor/jquery.js"></script>
    <script src="js/vendor/fastclick.js"></script>
    <script src="js/foundation.min.js"></script>
    <script>
      $(document).foundation();
      $("#swap").on("replace", function() {
$(document).foundation();
});
    </script>
  </body>
</html>

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Steven Mapes's post over 5 years

Just to clarify for those of us who don't have much JavaScript knowledge.

This works by placing the JS quoted above in the tag at the bottom of the page. If you put it in the top it won't load. So the bottom of the page will look something like this using above example:

    <script src="js/vendor/jquery.js"></script>
    <script src="js/vendor/fastclick.js"></script>
    <script src="js/foundation.min.js"></script>
    <script>
      $(document).foundation();
      $("#swap").on("replace", function() {
$(document).foundation();
});
    </script>
  </body>
</html>

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content