javascript - Jquery, error when using two scripts -


im using 2 scripts on website. sliding function between pages.

$(document).ready(function() {    $('#wrapper').scrollto('#item2', 0);       $('a.panel').click(function () {          $('a.panel').removeclass('selected');         $(this).addclass('selected');          current = $(this);          $('#wrapper').scrollto($(this).attr('href'), 800);                return false;     });      $(window).resize(function () {         resizepanel();     });  });  function resizepanel() {      width = $(window).width();     height = $(window).height();      mask_width = width * $('.item').length;      $('#debug').html(width  + ' ' + height + ' ' + mask_width);      $('#wrapper, .item').css({width: width, height: height});     $('#mask').css({width: mask_width, height: height});     $('#wrapper').scrollto($('a.selected').attr('href'), 0);  } 

and 1 image slideshow.

      script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" 

when implemented slideshow sliding function between pages wont work anymore , it's because of latest script. how solve this?


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -