Measuring height of a div - broken in IE
Hi I'm measuring the height of a div to do an animated show hide effect where a portion of the div is always visable. To collect the height I'm using
-
var _startHeight = $("#swatches").css("height");
This works fine in firefox passing through a number, but in IE it passes "auto" breaking the rest of my script. Any thoughts would be gratefully received.
I have a test page up and running at
http://www.shopcreator.com/mall/productpage.cfm/AnnaMorgan/_BacallLS/256993/Bacall%20Extra%20Large%20Sofa
Click the select all available fabrics buttons to activate the section of code.
Many thanks in advance
David