-
Feb 20th, 2003, 06:43 PM
#1
Thread Starter
Fanatic Member
Resize without scale [Resolved]
I have an image that I want to resize, but I only want to change the height of the image. If I use the .height property it scales the whole image to be that height, and it changes the width. Basically I want to hide the bottom of the image from view until the perform a certain action. How would I do this?
Last edited by Mushroom Realm; Feb 22nd, 2003 at 12:25 PM.
-
Feb 21st, 2003, 05:45 AM
#2
How about two images one with the bottom and one without?
-
Feb 21st, 2003, 04:17 PM
#3
Thread Starter
Fanatic Member
That would work, but only one problem. I dont want it to change the src in the onmouseover, is there a way to just hide the image?
-
Feb 21st, 2003, 04:27 PM
#4
Good Ol' Platypus
If you set the width property to what the image's width is anyway, you will be able to change the aspect ratio by changing the height.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|