Screen resolution and scroll bars

  • zian
  • Student
  • Student
  • No Avatar
  • Joined: Jun 10, 2004
  • Posts: 92
  • Loc: Toowoomba, Australia
  • Status: Offline

Post June 24th, 2004, 3:21 am

hi everyone,
just a quick question.....
I was wondering if it is possible for a browser to tell what resolution it is being viewed in and display scrollbars in certain resolutions and hide them in others...??

thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 24th, 2004, 3:21 am

  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post June 24th, 2004, 3:25 am

You can do it with javascript but this is something that happens automagically. Take the ozzu window and reduce the width down to <800(ish) pixcels. For people with 640x480 the screen will have a horizontal scrollbar, for those with a sensible screen it would not.....

I'm not saying don't do it, but I cannot see why this would be neccessary.
CSS website design tutorials
  • zian
  • Student
  • Student
  • No Avatar
  • Joined: Jun 10, 2004
  • Posts: 92
  • Loc: Toowoomba, Australia
  • Status: Offline

Post June 24th, 2004, 3:41 am

hhhmmm ok, coz I created this website and I didn't want scrollbars so I turned them off, and now the page can't be viewed properly in 800x600 resolution....
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post June 24th, 2004, 3:44 am

Well the scroll bars should not appear on the screen at the larger res. Is there a link you can give
CSS website design tutorials
  • zian
  • Student
  • Student
  • No Avatar
  • Joined: Jun 10, 2004
  • Posts: 92
  • Loc: Toowoomba, Australia
  • Status: Offline

Post June 24th, 2004, 3:50 am

yeah

http://www.veracitysystems.com/promim
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 20, 2004
  • Posts: 524
  • Loc: NC, USA
  • Status: Offline

Post June 24th, 2004, 7:55 am

Zian...simply put if you use %'s instead of hard coding values for the width's you will come up with a page that will look good across vairous assortments of resolutions. Once you get the page to look good form 800x600 to 1152x864(or however high you go) you can turn scrolling off in the frameset...and I think you will have accomplished your goal.
Image
Give a man a fish he eats for a day. Teach a man to fish he eats for a lifetime.
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post June 24th, 2004, 8:01 am

I don't like percentages for fluid layouts, but thats just me.

TBH I can't see why the scroll bars need to be turned off. If you leave them on then @1024x768 or greater they shouldn't appear. Also, if you don't turn them off, someone using text-zoom will lose the bottom of the page! I don't thnik it is a good idea to turn off scrollbars completely.

Can you show us what happens if you leave it as default settings?
CSS website design tutorials
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 20, 2004
  • Posts: 524
  • Loc: NC, USA
  • Status: Offline

Post June 24th, 2004, 8:10 am

"fluid layouts"? not sure what that means

i agree on the scrollbars...leave 'em on...if you get the page looking right across resolutions...it shouldn't be a problem...that was a naive post previously (or a tired one)
Image
Give a man a fish he eats for a day. Teach a man to fish he eats for a lifetime.
  • dprichard
  • Beginner
  • Beginner
  • User avatar
  • Joined: Jun 21, 2004
  • Posts: 61
  • Loc: Clearwater Florida
  • Status: Offline

Post June 24th, 2004, 8:21 am

I like the fluid pages personally. It takes a little more work to do upfront, but I like the way they flow with the browser. Another option would be to build a page for screens with lower resolutions and redirect them based on their screen resolution.
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 20, 2004
  • Posts: 524
  • Loc: NC, USA
  • Status: Offline

Post June 24th, 2004, 10:28 am

PS: Contractor is spelled wrong in your underline

1st sentence 2nd paragraph

PSS: Still unclear about "fluid pages"
Image
Give a man a fish he eats for a day. Teach a man to fish he eats for a lifetime.
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post June 24th, 2004, 10:34 am

s15199d, A fluid layout is one that resizes to fill the window, because fluid resizes to fill it's container.

PS. It's "PPS", not "PSS" :D
CSS website design tutorials
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 20, 2004
  • Posts: 524
  • Loc: NC, USA
  • Status: Offline

Post June 24th, 2004, 12:41 pm

ok well then I have a question...if you don't use %'s to have a page resize itself...how do <u>you</u> go about it?

I know you're a big CSS guy...<u>but</u>
surely you don't absolute position everything and then make the value of the absolute position variable based on resolution....surely that's not how you do it...i'm intrigued...

PS: "fluid" is a fancy name for it, but I got you never heard the term b/4

PSS: I like pss better...sure it's wrong...but hey I got wild streak I'll live on the wild side on this one :twisted:
Image
Give a man a fish he eats for a day. Teach a man to fish he eats for a lifetime.
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post June 24th, 2004, 1:16 pm

s15199d wrote:
ok well then I have a question...if you don't use %'s to have a page resize itself...how do <u>you</u> go about it?

I know you're a big CSS guy...<u>but</u>
surely you don't absolute position everything and then make the value of the absolute position variable based on resolution....surely that's not how you do it...i'm intrigued...

Well I like any navigational / flanking columns to be fixed width and then the content to be fluid. I don't know why but I really have a problem with the flanking columns shrinking. As for how I would achieve it, check out http://www.glish.com/css/7.asp although I would vary this depending on the circumstances.

Quote:
PS: "fluid" is a fancy name for it, but I got you never heard the term b/4

Yes it is a fancy term, but I have never heard a different term that is as succinct. "Layouts that resize to the same width as the browser window" doesn't seem roll of the tip of your tongue :lol:

TBH it is the only term I have ever heard for it.

Quote:
PSS: I like pss better...sure it's wrong...but hey I got wild streak I'll live on the wild side on this one :twisted:


:lol:
CSS website design tutorials
  • conorific
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 12, 2004
  • Posts: 350
  • Loc: NY
  • Status: Offline

Post June 24th, 2004, 5:20 pm

Please never turn off scrollbars. You cut out so much of your audience when you do that.
  • zian
  • Student
  • Student
  • No Avatar
  • Joined: Jun 10, 2004
  • Posts: 92
  • Loc: Toowoomba, Australia
  • Status: Offline

Post June 29th, 2004, 4:19 pm

ok, i've changed the site so that it shows scroll bars, but now it shows them even in 1024x768 resolution, and i don't want them to show there.... :(
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 29th, 2004, 4:19 pm

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 72 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.