Link to home
Start Free TrialLog in
Avatar of SunScreenCert
SunScreenCert

asked on

growing and shrinking div in javascript

Write a simple DHTML page with one centered div, height 200px, width 200px, that is blue, on a white background.
When clicking on the div it should slowly grow to 500px (width) and then shrink to 200px, and repeat this motion until it is clicked again.
Do not use 3rd party JavaScript libraries in your solution.


SOLUTION
Avatar of GregTSmith
GregTSmith

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well if the author is not going to comment on that I will...

Nice effort. Doesn't work cross browser but I still admire your work. I would help out and write one that works cross-browser, but it doesnt seem as though it would be used, and you deserve the points anyway!

:)
Avatar of SunScreenCert
SunScreenCert

ASKER

No please help me with the cross browser one
hey this is not working
hey i have firefox and it is not working
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial