PDA

View Full Version : Screen Resizing


JTx
06-21-2003, 04:47 AM
This is kind of a web site design/java script question... actully I think it's java.

Is there a java script that will automatically resize the site page being viewed based on what screen size and resolution the visitor is using?

Thanks much for any help or direction you can offer.

JT

oracleguy
06-21-2003, 06:34 AM
What you do is when you code your design, use percentages rather than fixed width sizes. That's the best way short of make seperate pages for each resolution.

JTx
06-21-2003, 06:48 AM
Originally posted by oracleguy
What you do is when you code your design, use percentages rather than fixed width sizes. That's the best way short of make seperate pages for each resolution.

But it can't resize graphics, correct? If a header is say 100 x 750 pxels, that methos will not resize the graphic, just the background and anything else that is not specifically sized...

Thanks

cg9com
06-21-2003, 10:27 PM
Like my fellow mod. stated, percentages.

Yes you can even use them in an image, although I don't know why you would want to, could make it vewy ugly if changed from its original size.