View Full Version : Expando Image code with layers

08-01-2009, 07:15 PM
1) Script Title: Expando Image Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm

3) Describe problem: I am using this script and would like to have two images in fairly close proximity to each other both have the expand feature. My problem is that when one image expands, it shifts the other image as well as other page content. I thought I could solve this problem by simple putting the images into a <div> and putting the divs on different layers (.layer1 {position:relative; z-index:2;}). This doesn't have any effect though. I am able to put two images on top of each other by doing this, but with this Expando code, it doesn't do what I hoped.

Any help is appreciated.