Mam na swojej stronie 2 skrypty, które wykorzystują inne wersje jquery.
Problem jest taki, że zawsze 2 skrypt nie działa prawidłowo - wiem, że trzeba zastosować: jQuery.noConflict(); ale za chorobę mi nie wychodzi :-(.
<script type="text/javascript" src="skrypty/jquery.min.js"></script>
<script type="text/javascript" src="skrypty/jqueryslidemenu.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
<!-- ANIMACJA GRAFIKI -->
<script type="text/javascript" src="skrypty/jquery-1.3.js"></script>
<script type="text/javascript" src="skrypty/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#myslides').cycle({
fx: 'fade',
speed: 3000,
timeout: 500
});
});
</script>
<script src="skrypty/jquery-1.2.6.js" type="text/javascript"></script>
<script src="skrypty/jquery.marquee.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
$(function () {
// basic version is: $('div.demo marquee').marquee() - but we're doing some sexy extras
$('div.demo marquee').marquee('pointer').mouseover(function () {
$(this).trigger('stop');
}).mouseout(function () {
$(this).trigger('start');
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
}
}).mousedown(function (event) {
$(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
}).mouseup(function () {
$(this).data('drag', false);
});
});
//-->
</script>