jQuery alternative to the front-end library for LemonStand.
- Remove
<?= include_resources() ?>from your templates. - Include jQuery first, then
ls_frontend.jsinto your template. - Include
ls_frontend.cssif you want default styles. - Remove any references to
jQuery.noConflict(). The$(money) variable is required.
<link href="<?= root_url('/') ?>resources/css/ls_frontend.css" rel="stylesheet" media="screen" />
<script src="<?= root_url('/') ?>resources/js/jquery-1.4.2.min.js"></script>
<script src="<?= root_url('/') ?>resources/js/ls_frontend.js"></script>MooTools (language prototyping, class centric), is a much different library than jQuery (chaining, functional plugin centric). Compromises have been made to maintain backwards compatibility.