| Garry |
|
NetHosted Customer

Joined: 03 Oct 2005 Posts: 524 Location: Lincoln, UK
|
Posted: Fri Sep 09, 2011 12:25 pm Post subject: lightbox2 help |
| |
Hi,
I have tried lightbox2 and jquery lightbox and I have the same problem with both.
I have added the javascripts and css files for the lightbox.
This is my code:
| Quote: | | <a href="getsnap.php?id={$user.id}&typ=full&picid={$pic.picno}" rel="lightbox" title="TITLE"><img src="getsnap.php?id={$user.id}&typ=tn&picid={$pic.picno}" width="45" height="45" alt="" /></a> |
The problem hee is when you click on the image, it want you to save the file to your computer and not use the lightbox effect.
I have to put the image through getsnap.php?etc....
Any ideas? _________________ Regards,
Garry
Crazy BigGaz - My blog  |
|
| Back to top |
|
| Garry |
|
NetHosted Customer

Joined: 03 Oct 2005 Posts: 524 Location: Lincoln, UK
|
Posted: Fri Sep 09, 2011 12:46 pm Post subject: |
| |
Just put the code in the demo page and did direct url links and it worked.
Something must be mess it up _________________ Regards,
Garry
Crazy BigGaz - My blog  |
|
| Back to top |
|
| Garry |
|
NetHosted Customer

Joined: 03 Oct 2005 Posts: 524 Location: Lincoln, UK
|
Posted: Fri Sep 09, 2011 12:57 pm Post subject: |
| |
Looks like it is jquery that is messing it up _________________ Regards,
Garry
Crazy BigGaz - My blog  |
|
| Back to top |
|
| Garry |
|
NetHosted Customer

Joined: 03 Oct 2005 Posts: 524 Location: Lincoln, UK
|
Posted: Fri Sep 09, 2011 1:17 pm Post subject: |
| |
It looks like it was jQuery breaking it. As soon as I removed it, it worked.
Not sure why the the jQuery lightbox wouldn't work.
Anyway I have it working now, just need to move some code around for it to all work. _________________ Regards,
Garry
Crazy BigGaz - My blog  |
|
| Back to top |
|
| Garry |
|
NetHosted Customer

Joined: 03 Oct 2005 Posts: 524 Location: Lincoln, UK
|
Posted: Sat Sep 10, 2011 12:08 am Post subject: |
| |
After some searching and testing I just found colorbox that works with jQuery 1.6.1, and works with my setup.
The one that worked was using an eariler version of jQuery and would stop me doing other things on that page I wanted to. _________________ Regards,
Garry
Crazy BigGaz - My blog  |
|
| Back to top |
|
User Permissions |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
| |