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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.