Hi,
i'm using Lightbox 1.0.1 - sounds like a great module - slight problem for me.
i have added the css and js tag in the template
i have tried both educating TinyMice (using the rel='lightbox') and also code directly ( {Lightbox image = etc)
It does put a thumbnail image in place and it does link to the larger image BUT it opens it as a new page rather than applying the Lightbox effect.
ANY help would be gratefully appreaciated.
thanks to all.
Michael
p.s - only think i can think of that is not working is that when i view source, the javascript links dont have a / at the front so maybe it's not pointing to the right directory??? tried to change but the module's permissions won't let me.
FYI - website is at: http://74.200.74.35/index.php?page=gamb ... ent-clinic
thanks
Lightbox not showing effect [SOLVED]
Lightbox not showing effect [SOLVED]
Last edited by merder99 on Tue Jun 23, 2009 2:01 am, edited 1 time in total.
Re: Lightbox not showing effect
Hi Michael, try adding the full path to all your Javascript calls
Also you are loading more JS (namely Jquery) after this, it may effect it as well?
Code: Select all
<__script__ src="http://74.200.74.35/modules/LightBox/js/prototype.js" type="text/javascript"></__script>
<__script__ src="http://74.200.74.35/modules/LightBox/js/scriptaculous.js?load=effects" type="text/javascript"></__script>
<__script__ src="http://74.200.74.35/modules/LightBox/js/lightbox.js" type="text/javascript"></__script>
Re: Lightbox not showing effect
Hi merder99
Had similar problems with the album module. Sometimes it didn't work and a few moments later it does...
Changed this below and it was better, for me anyway...
Site admin > Global Settings > Maximum amount of time (seconds) stylesheets can be cached in the browser:
Try setting this parameter to 6000 or something...
I hope this helps.
Regards, Rolf
Had similar problems with the album module. Sometimes it didn't work and a few moments later it does...

Changed this below and it was better, for me anyway...
Site admin > Global Settings > Maximum amount of time (seconds) stylesheets can be cached in the browser:
Try setting this parameter to 6000 or something...
I hope this helps.
Regards, Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Lightbox not showing effect
try:
I use shadowbox and it requires a name for the shadowbox (lightbox[Advertising Examples]) and a title for the window/overlay it also needs a title for the thumb but i dont think lightbox does.
let me know if this helped.
peace
I use shadowbox and it requires a name for the shadowbox (lightbox[Advertising Examples]) and a title for the window/overlay it also needs a title for the thumb but i dont think lightbox does.
let me know if this helped.
peace
Re: Lightbox not showing effect [SOLVED]
To let everyone know the solution - was as mentioned by the fantastic people above.
Jquery was clashing with lightbox - also - the javascript paths were not wporking properly.
i can't make changes to the files and re-upload them - server permissions thing (don't really understand that bit)
but i hard-coated the javascript bits and put in the metadata on the page.
thanks all for your help.
Jquery was clashing with lightbox - also - the javascript paths were not wporking properly.
i can't make changes to the files and re-upload them - server permissions thing (don't really understand that bit)
but i hard-coated the javascript bits and put in the metadata on the page.
thanks all for your help.