View Full Version : Java Lightbox and Collapsable Menu

09-27-2009, 04:10 PM
Hello Chaps

I have a java script for a lightbox which works perfectly and i also have a java script to collapse and open a menu which works really well. However I can not get the two to work together i.e i have an image within the menu which when click the lightbox should work. HELP I am still learning java...


Here is the script

<link href="special.css" rel="stylesheet" type="text/css" />
<link href="nav.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />

<style type="text/css">

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript">
<script type="text/javascript" src="jquery-1.3.2.js"></script>

<script type="text/javascript">


}, function () {




09-29-2009, 04:54 PM
Can anyone assist???

09-29-2009, 08:28 PM
Cocoon, you're using three (3) JavaScript frameworks. It almost defeats the point IMHO. Choose one :) There's no surprise you have conflicts I think..

Also remember that JavaScript and Java are two very different programming languages, it can cause confusion for some if you use the one for the other 8)