Results 1 to 2 of 2

Thread: Combination of scripts

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

    Question Combination of scripts

    1) a) Script Title: Lightbox image viewer 2.03
    b) Ajax Tab Content Script

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

    3) Describe problem:

    I was wondering if it's possible to combine the above 2 scripts. Basically, if the light box thumbnails appear in one of the Ajax tabs, is it possible to make it so that clicking on the thumbnail would cause the image to enlarge and the background to darken throughout the entire web page(as in the standalone example of the lightbox script).

    Regards.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm I don't see an easy way unfortunately. In cases where one of the external pages within Ajax Tabs Content contains a complex JavaScript, I would recommend the use of an iframe tag to contain it. But with the Lightbox Image viewer script, this will mean the entire effect will be played out within the iframe, and not on the entire page containing it.

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
  •