Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroll bar help

Status
Not open for further replies.

M3Fan

Programmer
Dec 28, 2001
73
US
Ok, here's my question. I have a frame that is basically for a navigation menu on the side of the site. It has too many items to view them all in 800x600 but it looks fine in 1240x768. Now, of course if I put the scrollbars to "auto" then IE still puts the scrollbars there no matter what because it thinks it needs them (you know how that is). What I want is to be able to turn them off or on depending on the resolution. None for 1240x768 and just the vertical scroll for 800x600 in this one frame. HELP!!!!!
 
couldn't u put something like
Code:
if (window.width < 1240 && window.height < 760) {
 scrollbars=yes; }
else {scrollbars=no;}


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top