Using XC's Jquery UI
Hi
This is our first XC build and I am trying to use the built in Jquery UI for a simple accordion style hide/show content.
When I use the following code:
{literal}
<script>
$(document).ready(function() {
$( "#accordion" ).accordion({
active: false, autoHeight: false, collapsible: true
});
});
</script>
{/literal}
Nothing happens.
When I link to <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
It works fine, but any pop up on the site, like "Sign In" on the checkout page just hangs with the animation and please wait, remove the link pop up works, but accordion doesn't .
So my question is, how do I access Jquery UI built into XC?
Many thanks
__________________
Version 4.6.1
|