Results 1 to 3 of 3

Thread: Ajax content with LightBox Code:Problem

  1. #1
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax content with LightBox Code:Problem

    1) Script Title: LightBox

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/index.htm

    3) Describe problem:
    I have a tabbed menu page. clicking on each tab shows a vertical sub menu and pictures(thumbs). the submenu and thumbs are coming from a php page throught AJAX. I included all the files for implementing LightBox in the tabbed menu page. and used the exact technique for lighbox image
    <a href=BIG_IMAGE_NAME rel="lightbox"><img src=THUMB_NAME /></a>
    in the php page

    but lightbox isnot working...images are just opening as if i didnot use rel="lightbox"...i have tested with static images in the tabbed menu page...lightbox is working then...but not when a content coming through AJAX has lightbox call.

    what is wrong? can anyone help me?

    I am using the latest prototype.js and lightbox from DD

  2. #2
    Join Date
    Nov 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am having this exact same problem also. I have been searching for literally weeks and cannot find a solution to this issue anywhere. If anyone could shed some light (no pun intended) on this, it would be greatly appreciated.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Install the lightbox scripts and css on the top page and see:

    http://www.dynamicdrive.com/forums/s...ad.php?t=25671
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •