Welcome to WebmasterWorld Guest from 54.145.53.251

Forum Moderators: open

Message Too Old, No Replies

Swapping Different-Sized Images in Dreamweaver MX

     
4:05 pm on May 3, 2006 (gmt 0)

New User

10+ Year Member

joined:Dec 8, 2003
posts:16
votes: 0


How can I swap a 75px by 75px image with a 125px by 125px image upon mouseover? Dreamweaver automatically resizes the larger one to the dimensions of the smaller one. Can this be prevented?

Thanks.

4:11 pm on May 3, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:May 8, 2005
posts:408
votes: 0


I would suggest you just give a background to the 75x75 making it 125x125 but APPEARING to be 75x75, this will also keep the other page elements stable on mouseover.
4:58 pm on May 3, 2006 (gmt 0)

New User

10+ Year Member

joined:Dec 8, 2003
posts:16
votes: 0


Thanks for the reply TypicalSurfer, but I thought of that already. This solution won't work in this particular situation.
8:41 pm on May 3, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 23, 2003
posts:801
votes: 0


If that doesn't suit you, then I take it you *want* the browser to re-layout all the page elements to suit the new image size (ie you want the screen picture to change)?

DerekH