Cookie Bar not working on Basket Page
I've been adding the following to the ledwarehouseuk.com website:
<link rel="stylesheet" href="jquery.cookiebar.css" type="text/css" />
<script type="text/javascript" src="scripts/jquery.cookiebar.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.cookieBar();
});
</script>
<script type="text/javascript">
if(jQuery.cookieBar('cookies')){
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'ANALYTICSID', 'ledwarehouseuk.com');
ga('send', 'pageview');
}
</script>
This requires a jQuery reference too, which I'm adding as:
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
...in the head section.
This is working on most pages but on our basket page, which has this at the bottom of the page, it doesn't:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
I'm assuming this is a conflict with the jQuery references. How can I resolve this without wrecking eCart?
Thank you.
NJ