>> I have JS function to get the screen available width. >> I need to either put that in a CF variable
Possibly without any testing but will get you in the right direction. <div id="resizeme"> ...Some content... </div> <script type="text/javascript"> var screenWdith = getScreenWidth document.getElementById("resizeme").width = screenWidth; </script> You may need to check up on the syntax but without more info in what you want to exactly do (ie use value on same page or on next page), that looks like what you are trying to do UPDATE SINCE IT WAS ANSWERED >> nevermind..I got it.. I guess I've finally woke up. Care to share? -- dc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182595 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54