Lightbox not showing effect [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
merder99
Forum Members
Forum Members
Posts: 47
Joined: Wed Oct 29, 2008 3:14 am

Lightbox not showing effect [SOLVED]

Post by merder99 »

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
Last edited by merder99 on Tue Jun 23, 2009 2:01 am, edited 1 time in total.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: Lightbox not showing effect

Post by Russ »

Hi Michael, try adding the full path to all your Javascript calls

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> 
Also you are loading more JS (namely Jquery) after this, it may effect it as well?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Lightbox not showing effect

Post by Rolf »

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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
jcolvard
Forum Members
Forum Members
Posts: 19
Joined: Mon Jan 15, 2007 6:26 pm

Re: Lightbox not showing effect

Post by jcolvard »

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
merder99
Forum Members
Forum Members
Posts: 47
Joined: Wed Oct 29, 2008 3:14 am

Re: Lightbox not showing effect [SOLVED]

Post by merder99 »

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.
Post Reply

Return to “Modules/Add-Ons”