Web Analytics Made Easy -
StatCounter lightbox help or recommend - CodingForum

Announcement

Collapse
No announcement yet.

lightbox help or recommend

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Resolved lightbox help or recommend

    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:
    <a href="getsnap.php?id={$user.id}&amp;typ=full&amp;picid={$pic.picno}" rel="lightbox" title="TITLE"><img src="getsnap.php?id={$user.id}&amp;typ=tn&amp;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?
    Last edited by CBG; Sep 9, 2011, 04:07 PM.
    Regards,
    CBG

  • #2
    Just put the code in the demo page and did direct url links and it worked.
    Something must be mess it up
    Regards,
    CBG

    Comment


    • #3
      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,
      CBG

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎