PDA

View Full Version : Images of differing sizes with Rom Image Rollover?



AshleyQuick
09-14-2007, 04:11 AM
1) Script Title: DOM Image Rollover v.3

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex15/domroll.htm

3) Describe problem: Any way this code can modified so that the images can be different sizes?

ddadmin
09-17-2007, 08:04 AM
They can be different sizes as long as you don't give the <img> tag an explicit width/height attribute. This way, the browser will reflow itself to accomodate each image's original dimensions.

AshleyQuick
09-18-2007, 01:38 AM
Thanks!