Lightbox doesnt works

13 years 2 months ago #152865 by hbudak
Lightbox doesnt works was created by hbudak
Hi all,

when i click on the Picture doesnt works the lightbox. But when i click on the description link over the pivture a new browserwindow opens with the picture. Can anybody help me?

Please Log in to join the conversation.

13 years 2 months ago #152874 by nant
Replied by nant on topic Re: Lightbox doesnt works
Are you using the latest version of CBGallery?

Any javascript errors in your browser?

Please Log in to join the conversation.

13 years 2 months ago #152879 by hbudak
Replied by hbudak on topic Re: Lightbox doesnt works
Yes, thank you for your comment. I find the solution at the forum.



I had to do a slight workaround to Pema's fix, so I thought I'd share.

1. I downloaded the slimbox1.68 file from slimbox.googlecode.com/files/slimbox-1.68.zip

2. Unpacked the mootools.js & slimbox.js files from the slimbox package (in the js folder) into [root]/media/system/js folder and renamed the new mootools.js to mootools1.js (I found that just replacing the original mootools.js caused problems in the backend)

3. Open for editting /templates/[yourtemplate]/index.php and find:

<?php JHTML::_('behavior.mootools'); ?>

Place the following lines of code on the next line:

<script type="text/javascript" src="/media/system/js/mootools1.js"></script>
<script type="text/javascript" src="/media/system/js/slimbox.js"></script>

That worked for me. Thanks Pema for getting me there. And thanks to the crew for this great feature.

Jeremy

Post edited by: myrtusugni, at: 2009/01/05 09:26

Perhaps this solution can be updated in the new updates of the profile gallery automaticly.
The following user(s) said Thank You: heyai

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.200 seconds

Facebook Twitter LinkedIn