Anyone have or seen a script that performs the following...
I have one large image (about 500px height, though it could be anything up to 600px) contained within a <div>. On load, the div's height is set to 200px, so only the top portion of the image can be seen. When a user clicks a button (down arrow for example) it would reveal the entire image (setting the height to 100%). So when you click on the button, it would toggle between the two.
For example it would toggle between:
<div style="height:200px"></div>
<div style="height:100%"></div>
Any ideas,
Thanks
rick
I have one large image (about 500px height, though it could be anything up to 600px) contained within a <div>. On load, the div's height is set to 200px, so only the top portion of the image can be seen. When a user clicks a button (down arrow for example) it would reveal the entire image (setting the height to 100%). So when you click on the button, it would toggle between the two.
For example it would toggle between:
<div style="height:200px"></div>
<div style="height:100%"></div>
Any ideas,
Thanks
rick