0

Hi
I want to include two sets of javascript on one page and in doing so one of the functions stops working.

Here is the scripts I am trying to use:

1.

<script type="text/javascript" src="slider-js/jquery.js"></script>
	<script type="text/javascript" src="slider-js/easySlider1.7.js"></script>
		<script type="text/javascript">
		$(document).ready(function(){	
			$("#slider").easySlider({
				auto: true, 
				continuous: true
			});
		});	
	</script>

2.

<script src="js/mootools.js" type="text/javascript"></script><script src="js/portfolio.js" type="text/javascript"></script><script src="js/mootabs.js" type="text/javascript"></script><script src="js/moodalbox.js" type="text/javascript"></script><script type="text/javascript" src="js/functions.js"></script>

If I just have one set in the code it works fine but as soon as I add both it stops working.

can anyone help. I am new to javascript so dont know how to sort this

Any advice will be greatly appreciated

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by ShawnCplus
0

Yeah, don't use both mootools and jquery. If you want a lightbox use Thickbox which uses jQuery, I'm not sure what mootabs is so I can't suggest a replacement for that.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.