Site assist 1.0.7. and lightbox
I have created a site using site assist pro 1.0.7., I have add a lightbox2 for pictures previews. The Files in the root run perfect and smooth with the lightbox2.
index.php contains the following code in the head section:
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
(Example Workin: suites.php )
siteassistpro_template.dwt.php contains the following code in the head section:
<script type="text/javascript" src="../lightbox/js/prototype.js"></script>
<script type="text/javascript" src="../lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="../lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="../lightbox/css/lightbox.css" type="text/css" media="screen" />
The problem that I’m having is when the files “is not” in the main root the lightbox2 do not display the progress and close icons.
(Example Not Working: delfin.php )
I have already try changing the following code in the lightbox.js file and nothing:
Before:
fileLoadingImage: 'lightbox/images/loading.gif',
fileBottomNavCloseImage: 'lightbox/images/closelabel.gif',
Now:
fileLoadingImage: '../lightbox/images/loading.gif',
fileBottomNavCloseImage: '../lightbox/images/closelabel.gif',
Did somebody know how to fix this problem?