Sure... thats basically what I did..
I dont know why I didnt realize that ealier...

<div style="overflow: auto; width:800px; height: 500px; 
border-left: 1px gray solid; border-bottom: 1px gray solid; 
padding:0px; margin: 0px" id="mDiv">

</div>
<script language="Javascript">
<!--
  var saw = screen.availWidth;
  document.getElementById('mDiv').style.width= saw + 'px';              
//-->           
</script>       



On Tue, 26 Oct 2004 13:59:55 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> >> 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
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182596
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to