I have the following Javascript returning the frame height and width.
<script language="Javascript">
function sizeTextArea(){
var winWidth=top.document.all.mainFrame.width;
var winHeight=top.document.all.mainFrame.height;
// offsets of 20 and 40 prevented scrollbars appearing in window
document.myForm.textvar.style.width=winWidth-20;
document.myForm.textvar.style.height=winHeight-40;
}
</script>
How can I get the width and height from the above script into a CF variable
so I can pass this to a <texttarea>...</textarea>
tag?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists