dcsimg
Problem with menu scrollbars
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alison_Purcell
Posted On:   Tuesday, February 8, 2005 04:18 AM

Hi, I'm modifying a DHTML menu which I want to show vertical scrollbars only, preferably only if the contents do not fit the window. For some reason this.style.overflow='auto' does not work. So I put the following: this.style.overflow='scroll'; and I got both vertical and horizontal scrollbars showing. When I then added: this.style.overflowX='hidden'; the horizontal scrollbar disappeared (which was good) but for some reason it also disabled the vertical scrollbar (it still partially shows but doesn't work). Is this a bug does anyone know? I'm using I.E. 6.0 thanks, Alison    More>>


Hi,



I'm modifying a DHTML menu which I want to show vertical scrollbars only, preferably only if the contents do not fit the window.


For some reason this.style.overflow='auto' does not work. So I put the following:


this.style.overflow='scroll';


and I got both vertical and horizontal scrollbars showing. When I then added:


this.style.overflowX='hidden';


the horizontal scrollbar disappeared (which was good) but for some reason it also disabled the vertical scrollbar (it still partially shows but doesn't work).


Is this a bug does anyone know? I'm using I.E. 6.0


thanks,


Alison    <<Less
About | Sitemap | Contact