xxTTcc
11-17-2010, 03:34 PM
Hello all. I am new to javascripting and to this forum but I have a question and I am asking for your help
I have two script and there is how they are placed in the head
<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="js/simplegallery.js">
/***********************************************
* Simple Controls Gallery- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript" src="js/gallery.js"></script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
In this case the Simple Gallery don't work
If i put the lightbox lines before the Gallery code the lightbox stop working, oppening the pics in a blank page.
You can see the page here:http://minerva-stil.com/vsekidnevni.php
I've searched a lot and i thing the both script don't have onload event so please tell me what could be the problem.:confused:
I have two script and there is how they are placed in the head
<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="js/simplegallery.js">
/***********************************************
* Simple Controls Gallery- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript" src="js/gallery.js"></script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
In this case the Simple Gallery don't work
If i put the lightbox lines before the Gallery code the lightbox stop working, oppening the pics in a blank page.
You can see the page here:http://minerva-stil.com/vsekidnevni.php
I've searched a lot and i thing the both script don't have onload event so please tell me what could be the problem.:confused: