Hi,
I have a wordpress plugin lightbox2 and a news scroller on my page.
My head section looks like this
<script type="text/javascript" src="wp-content/themes/soundsright/menu.js"></script>
<script type='text/javascript' src='wp-includes/js/prototype.js?ver=1.6'></script>
<script type='text/javascript' src='wp-includes/js/scriptaculous/wp-scriptaculous.js?ver=1.8.0'></script>
<script type='text/javascript' src='wp-includes/js/scriptaculous/effects.js?ver=1.8.0'></script>
<script type='text/javascript' src='wp-content/plugins/lightbox-2/lightbox.js?ver=1.8'></script>
<script type='text/javascript' src='wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<!-- begin lightbox scripts -->
<script type="text/javascript">
//<![CDATA[
document.write('<link rel="stylesheet" href="wp-content/plugins/lightbox-2/Themes/Grey/lightbox.css" type="text/css" media="screen" />');
//]]>
</script>
<!-- end lightbox scripts -->
<!-- SwfObj Plugin version SWFOBJ_VERSION -->
<script type="text/javascript" src="wp-content/plugins/swfobj/swfobject.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="wp-content/themes/soundsright/liscroll.js"></script>
<script type="text/javascript">
$(function(){
$("ul#ticker01").liScroll({travelocity: 0.03});
});
</script>
As it is now, the news scroller works but not the lightbox plugin. When I remove
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
then the lightbox works but not the news scroller.
I thought removing this jQuery refrence would have solved the problem cause wordpress already loads the same version of jQuery in this line
<script type='text/javascript' src='wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
Any ideas what I'm doing wrong here?