0

I'm using supersized slideshow on a site but I have added a texture overlay in a div

 #slideshow-wrapper
{
    width: 100%;
    margin: -100px 0 0 0;
    padding: 0;
    height: 500px;
    background: url(/slideshow/img/slideshow-front-3.png) repeat;
    position: relative;
    z-index: 3;
}

this is the supersized div

 #supersized
{
    display: block;
    position: absolute;
    left: 0;
    top: -15px;
    overflow: hidden;
    z-index: 1;
    height: 500px;
    width: 100%;
}

If I change the z-index on #slideshow-wrapper to 0 the link works great however I loose the texture over the image.

Is there a workaround for this so the link can work while still displaying the textured overlay?

Appreciate any help.

Cheers

Pawan Lakhara
  • 1,146
  • 4
  • 16
  • 28
user1516788
  • 1,489
  • 2
  • 11
  • 8

1 Answers1

0

You'll need to put an event listener on the texture image and capture the mouse coordinates, then pass along the click event to the item below it which should have been clicked, which shares the same coordinate space.

AlienWebguy
  • 76,997
  • 17
  • 122
  • 145