Results 1 to 3 of 3

Thread: Facebox showing behind simplygallery

  1. #1
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Facebox showing behind simplygallery

    1) Script Title: Facebox and

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...ebox/index.htm
    http://www.dynamicdrive.com/dynamici...plegallery.htm

    3) Describe problem:

    i have the facebox script working, but when it loads up it shows behind the simply gallery therefore cannt see the box. Is there a way around this?

    Regards

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.

    See these threads for proper posting format when asking a question.
    http://www.dynamicdrive.com/forums/showthread.php?t=6
    http://www.dynamicdrive.com/forums/s...ad.php?t=19533


    Without looking at the page, the only thing I can suggest is checking the z-index on the gallery script and make sure it is lower than that of the facebox script.

    Hope this helps.

    Edit: After looking at the two scripts, it appears the slideshow has a zindex of 1000 and facebox only has 100. To fix this, find in thickbox.css the following

    Code:
    #facebox {
      position: absolute;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 100;
      text-align: left;
    }
    and change 100 to 10000.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yup worked perfectly, thank you.

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
  •