Hi David,
It should be something like the following:
document.getElementById('mainContent').style.overflowX = 'hidden';
Note, the possible values available for overflow-x may be dependent on what
browser you're coding for.
Hope that is what you're looking for.
~ Scott Cadillac
~ 403-254-5002
~ [EMAIL PROTECTED]
~ Custom Software for Business
http://custom.softwarefor.net
~ The XML-Extranet Partnership
~ P.O. Box 69006
RPO Bridlewood SW
Calgary, Alberta
Canada T2Y 4T9
> -----Original Message-----
> From: David Shelley [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 11, 2005 11:04 AM
> To: Witango-Talk
> Subject: Witango-Talk: [OT] Javascript question
>
> I wonder if some of the javascript experts on this list can
> help me out here.
>
> I'm trying to dynamically reset the overflow=x property on a
> div tag. For example, I have
> [div id=mainContent style="width:600; overflow-x:scroll;">
>
> Under some circumstances I want to remove the scroll bar.
> Anyone know how to do that?
>
> Thanks
> Dave Shelley
>
> ______________________________________________________________
> __________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf