Preserved Topic: Resizing Div's with JS... (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: A lost remnant |
posted 10-25-2001 02:54
I need some help, basically what I am trying to accomplish is to resize the height of a div with the onlick of a .gif image. So I have a div on a page that is absolute positioned when the user clicks on an image the div resizes to 100% of the height of the page from the amount of pixels I specify it from the top. Does anybody have a script that would work like this? If anyone could help me I would much appreciate it. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 10-25-2001 05:10
See if this will help - http://www.runningwolf.com/development/code/resize_image.htm |
Paranoid (IV) Mad Scientist From: A lost remnant |
posted 10-25-2001 07:56
Pugzly, |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 10-25-2001 10:35
This will work in IE. It will also do the same on the width-part, it's commented on what to remove if you don't want that. |
Paranoid (IV) Inmate From: Lebanon |
posted 10-25-2001 15:38
<BLOCKQUOTE><FONT face="Verdana, Arial">code:</font><HR><pre> |
Paranoid (IV) Mad Scientist From: A lost remnant |
posted 10-25-2001 18:49
DMS, |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 10-25-2001 22:02
YoYo and Iallous. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-25-2001 22:29 |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 10-25-2001 22:51 |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 10-26-2001 16:26 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-26-2001 22:29 |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 10-27-2001 22:09
mr.Max |