Topic awaiting preservation: Vertical Resizing |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 05-12-2004 10:45
Hi guys, |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-12-2004 12:50
The poster has demanded we remove all his contributions, less he takes legal action. |
Nervous Wreck (II) Inmate From: |
posted 05-13-2004 15:02
Ok, I've been doing something else for a bit, but now I've come back to this little gem, here's what I've got so far... code: #main { That's my CSS right there! code: function resizeMe(myDiv){ Now you can see here I've commented out a bit of code, but the if statement is what I intend to use. code: <body> Right so That's all pretty straight forward, however when I click the link my alert pops up but with no value |
Nervous Wreck (II) Inmate From: |
posted 05-13-2004 16:41
Ok, I've finally done it!! code: function resizeMe(myDiv){ it turns out that to use offsetHeight, you don't need to put 'style.' infront of it. |