0

Im using http://orangoo.com/labs/GreyBox for popup in my application everything was working fine until i added Jcarousal from http://sorgalla.com/jcarousel Now greybox is working but jcarousal is not working when i comment the line in greybox as you can see in code then jcarousal dont work. how can i avoid this confliction

<link href="Script/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    var GB_ROOT_DIR = '<%= this.ResolveClientUrl("../Script/greybox/")%>';
</script>   
<%--<script type="text/javascript" src='<%= this.ResolveClientUrl("../Script/greybox/AJS.js") %>'></script>--%>**// if i comment this line then jcarousal works**
<script type="text/javascript" src='<%= this.ResolveClientUrl("../Script/greybox/AJS_fx.js") %>'></script>
<script type="text/javascript" src='<%= this.ResolveClientUrl("../Script/greybox/gb_scripts.js") %>'></script>
4

1 回答 1

1

尝试在包含 jQuery 之后但在调用其他 javascript 库之前放置此行。

$.noConflict():
于 2012-06-13T09:08:43.243 回答