Error when trying to get two plugins to work on the same page

Hi Folks,

I’m trying to get a caption slider (capty) and a image carousel (blueberry) to work on the same page.

Both plugins dont work, I’ve included the appropriate files. Can anyone please help?

http://www.mharrisweb.co.uk/index.html

I get various errors, mainly,


Error: TypeError: $ is not a function
Source File: http://www.mharrisweb.co.uk/index.html
Line: 21

The correct link to the page is:

http://www.mharrisweb.co.uk/indexnew.html

Can anyone help me get the two javascripts to work together?

I have tried this but it still doesnt work:

<script src=“http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js”></script>
<script src=“http://www.mharrisweb.co.uk/wp-content/themes/skeleton/javascripts/responsiveslides.min.js”></script>

<script type=“text/javascript”>
var jQuery_1_8_2 = $.noConflict(true);
</script>

<script src=“http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js”></script>
<script type=“text/javascript” src=“http://www.mharrisweb.co.uk/wp-content/themes/skeleton/javascripts/jquery.capty.min.js”></script>

<script type=“text/javascript”>
var jQuery_1_5_2 = $.noConflict(true);
</script>
<script>
$(document).ready(function(){

$jQuery_1_5_2('#default').capty();

   // Slideshow 1
  $jQuery_1_8_2("#slider1").responsiveSlides({
    maxwidth: 800,
    speed: 800
	
  });

});
</script>

Normally a jquery script from an earlier version is okay running on a later version of the jQuery library.
Is there any particular reason why you can’t use 1.8.2 for both scripts? That would make your life ever so much simpler.

Thanks very much for your reply.

I’ve managed to get the page working using one script locally. But when I upload to the webspace, I keep getting errors with my images. Can you help?

Here is my page:

http://www.mharrisweb.co.uk/demo.html

Timestamp: 08/11/2012 10:41:15
Error: Image corrupt or truncated: http://www.mharrisweb.co.uk/images/people.jpg
Source File: http://www.mharrisweb.co.uk/images/people.jpg
Line: 0

Timestamp: 08/11/2012 10:41:15
Error: Image corrupt or truncated: http://www.mharrisweb.co.uk/images/1.jpg
Source File: http://www.mharrisweb.co.uk/images/1.jpg
Line: 0

Timestamp: 08/11/2012 10:41:16
Error: Image corrupt or truncated: http://www.mharrisweb.co.uk/images/3.jpg
Source File: http://www.mharrisweb.co.uk/images/3.jpg
Line: 0

Timestamp: 08/11/2012 10:41:16
Error: Image corrupt or truncated: http://www.mharrisweb.co.uk/images/2.jpg
Source File: http://www.mharrisweb.co.uk/images/2.jpg
Line: 0

Timestamp: 08/11/2012 10:41:16
Error: Image corrupt or truncated: http://www.mharrisweb.co.uk/wp-content/themes/skeleton/bg.png
Source File: http://www.mharrisweb.co.uk/wp-content/themes/skeleton/bg.png
Line: 0

Well - where are those images on your server?