asdfjklmichael
12-06-2014, 08:50 PM
1) Script Title: Lightbox image viewer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm
3) Describe problem: I was attempting to use the script to load some images upon mouseclicking the image thumbnails. Some of the the full-sized images being linked to are much wider than my browser window (greater than a width of 1000px). I tried using the "max-width" attribute in CSS, but for some reason, the DIV containing the image never seems to shrink down.
To put it simply, I can use "max-width" to make the image that pops up smaller, but the DIV that contains the image will retain its size as if the image was never shrunken down. I'm not sure how to go about resolving this issue.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm
3) Describe problem: I was attempting to use the script to load some images upon mouseclicking the image thumbnails. Some of the the full-sized images being linked to are much wider than my browser window (greater than a width of 1000px). I tried using the "max-width" attribute in CSS, but for some reason, the DIV containing the image never seems to shrink down.
To put it simply, I can use "max-width" to make the image that pops up smaller, but the DIV that contains the image will retain its size as if the image was never shrunken down. I'm not sure how to go about resolving this issue.