HighDots Forums  

Re: Another CSS & Javascript Problem

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Another CSS & Javascript Problem in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Dorward
 
Posts: n/a

Default Re: Another CSS & Javascript Problem - 10-10-2003 , 06:05 PM






Ang Talunin wrote:

Quote:
if (window.screen.width == "1024") {
else if (window.screen.width == "800") {
}
What about people with other resolutions?

What about people who don't maximise their browser window?

--
David Dorward http://dorward.me.uk/


Reply With Quote
  #2  
Old   
Ang Talunin
 
Posts: n/a

Default Re: Another CSS & Javascript Problem - 10-11-2003 , 04:05 AM







"David Dorward" <dorward (AT) yahoo (DOT) com> schreef in bericht
news:bm7amd$lad$1$8302bc10 (AT) news (DOT) demon.co.uk...
Quote:
Ang Talunin wrote:

if (window.screen.width == "1024") {
else if (window.screen.width == "800") {
}

What about people with other resolutions?
They are taking care of also, but that's not the problem....

Quote:
What about people who don't maximise their browser window?
I don't care. If they want to see the foto's I'm displaying correctly,
without scrollbars the just have to maximise...




Reply With Quote
  #3  
Old   
David Dorward
 
Posts: n/a

Default Re: Another CSS & Javascript Problem - 10-11-2003 , 06:08 PM



Ang Talunin wrote:

Quote:
I don't care. If they want to see the foto's I'm displaying correctly,
without scrollbars the just have to maximise...
Possibly a better solution would be to give the user the choice of image
size. Perhaps a background image with a scale on it showing how wide and
tall "small" and "large" (and whatever other sizes you want) will appear
and ask the user to select one. This has the added benefit that users with
large resolutions but narrow bandwidth can choose a smaller image that
downloads faster.

--
David Dorward http://dorward.me.uk/


Reply With Quote
  #4  
Old   
Ang Talunin
 
Posts: n/a

Default Re: Another CSS & Javascript Problem - 10-12-2003 , 04:05 AM



Quote:
I don't care. If they want to see the foto's I'm displaying correctly,
without scrollbars the just have to maximise...

Possibly a better solution would be to give the user the choice of image
size. Perhaps a background image with a scale on it showing how wide and
tall "small" and "large" (and whatever other sizes you want) will appear
and ask the user to select one. This has the added benefit that users with
large resolutions but narrow bandwidth can choose a smaller image that
downloads faster.
The images aren't very large, cause they already are thumbnails and linked
to the original image, so i don't think it's an option...




Reply With Quote
  #5  
Old   
David Dorward
 
Posts: n/a

Default Re: Another CSS & Javascript Problem - 10-12-2003 , 11:12 AM



Ang Talunin wrote:

Quote:
I don't care. If they want to see the foto's I'm displaying correctly,
without scrollbars the just have to maximise...

Possibly a better solution would be to give the user the choice of image
size. Perhaps a background image with a scale on it showing how wide and
tall "small" and "large" (and whatever other sizes you want) will appear
and ask the user to select one. This has the added benefit that users
with large resolutions but narrow bandwidth can choose a smaller image
that downloads faster.

The images aren't very large, cause they already are thumbnails and linked
to the original image, so i don't think it's an option...
Its quite possible. Just create images of whatever intermediate sizes you
want, and then dynamically generate the thumbnails pages with links to the
selected image size.

--
David Dorward http://dorward.me.uk/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.