Recent Topics

1 Nov 05, 2010 07:13    

My b2evolution Version: 3.3.3

I'm trying to determine if having multiple java scripts referenced in my header is creating problems. It seems as though everything was working until I added a 2nd script reference, now the 1st one no longer works. My code now looks like this:

<link rel="stylesheet" href="http://operationsomething.com/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8"> 
	<script src="http://operationsomething.com/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>

	<link rel="stylesheet" href="http://operationsomething.com/css/nivo-slider.css" type="text/css" media="screen" />
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
	<script src="http://operationsomething.com/js/jquery.nivo.slider.pack.js" type="text/javascript"></script>

The first set referencing prettyPhoto works just find [u]IF[/u] the 2nd set referencing Nivo is [u]NOT[/u] there. Once I put the 2nd set in though, the 1st set no longer works. What gives?

2 Nov 05, 2010 12:58

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" 


B2evo already includes it's own version of jQuery. You're confusing it with duplicates.

3 Nov 07, 2010 04:02

You rock! Thanks a ton!


Form is loading...