Two Javas. One Page

What do I need to do with this?

[COLOR="Red"]1st: 
<script type="text/javascript" src="includes/js/jquery.js"></script>
<script type="text/javascript" src="includes/js/jquery.lightbox-0.5.js"></script>
<script type="text/javascript" src="includes/js/jquery.hoverIntent.minified.js"></script>[/COLOR]

[COLOR="Red"]<script type="text/javascript" src="includes/js/jquery.tooltip.js"></script>
<script type="text/javascript" src="includes/js/global.js"></script>
<script type="text/javascript" src="includes/js/backgroundPosition.js"></script>[/COLOR]

2nd: 
<script type="text/javascript" src="includes/js/prototype.js"></script>
<script type="text/javascript" src="includes/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="includes/js/lightbox.js"></script>

The one in the red is no longer working after adding the 2nd one.

Are you trying to add another entire JavaScript framework just to run Lightbox? Use a jQuery lightbox plugin, there are many.

I don’t know what I’m doing. :cool:

Does that mean I was right, and you need help finding a lightbox plugin? Or was there another reason for using both jQuery and Prototype?

Well, all I know is when I just have the first script going - it works smoothly. But when I add the 2nd one, the first one stops working but the 2nd one works just fine.

So, you are saying to combine them both into one?

No, I’m saying you shouldn’t use these two scripts on the same page.

Use a Lightbox script that uses jQuery so that you don’t have to use Prototype and Scriptaculous.

http://leandrovieira.com/projects/jquery/lightbox/