![]() Preserved Topic: Resizing Div's with JS... (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: A lost remnant |
![]() 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 |
![]() See if this will help - http://www.runningwolf.com/development/code/resize_image.htm |
Paranoid (IV) Mad Scientist From: A lost remnant |
![]() Pugzly, |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() 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 |
![]() <BLOCKQUOTE><FONT face="Verdana, Arial">code:</font><HR><pre> |
Paranoid (IV) Mad Scientist From: A lost remnant |
![]() DMS, |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() YoYo and Iallous. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Inmate From: Sthlm, Sweden |
![]() mr.Max |