Trying to use noConflict() to allow a plugin that uses 1.3+ along with others that require
1.2.6.
Here are the calls in my header:
- <script type="text/javascript" src="js/jquery/jquery.1.4.4.min.js"></script>
<script type="text/javascript">
var $jq = jQuery.noConflict();
</script>
<script type="text/javascript" src="js/jquery/jquery-1.2.6.pack.js"></script>
Here is the call on my page:
- <script type="text/javascript" src="js/jquery.colorbox.js"></script>
<script type="text/javascript">
// <![CDATA[
$jq(document).ready(function(){
//Examples of how to assign the ColorBox event to elements
$jq("a[rel='cbox']").colorbox();
});
//]]>
</script>
and how the link is defined:
- <li>
- <a class="span_link" title="" rel="cbox" href="/img/p/1006-1141-thickbox.jpg">View full size</a>
- </li>
I still get this error:
- $("." + boxElement).live is not a function in jquery.colorbox.js Line 385
What am I be doing wrong here?