Besides ensuring you only load jQuery once (as @Lodder pointed out) you have a noConflict()
call, that will un-assign the $
shorthand. This will make the
$(document).foundation()
fail. You should replace it with
jQuery(document).foundation()
Have you looked at siegeengine's port of foundation for Joomla? It could save you some headaches; while it has the same issue with noConflict
and invoking foundation with the shorthand $
, it might help.
Also, why not load the jQuery off a CDN?