In order to get tinycarousel to work I need to add a path to jquery-1.4.4.min.js in the header section of my theme (see below). However, when I do this, Lightbox 2 stops working. I have been investigating this and it seems as if there is some kind of conflict going on. Please see the script below that I am using in the header of my theme. I believe I am using jquery the correct way:
<?php wp_enqueue_script("jquery"); ?>
<?php wp_head(); ?>
<script type="text/javascript"
src="<?php bloginfo("template_url"); ?>/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript"
src="<?php bloginfo("template_url"); ?>/js/jquery.tinycarousel.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#slider-code').tinycarousel();
});
</script>
Is there any way to remove this conflict and get both Lightbox and tinycarousel working at the same time?