Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2003-12-09, 05:08 AM   #5
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
You can do this in a few ways...

With Javascript you need to detect what the resolution is with something like this...
http://www.pageresource.com/jscript/jscreen.htm

Then you need some "if" statements which will select a different graphic for 800x600, 640x480 and then an "else" statement for 1024x768 + any other res.

Another option would be to redirect by resolution using php. Either by selecting an include for the graphic based on what the php reads from the browser.

But if I was you, I would create a graphic which is about 700 wide and then stick it inside a table with a background color (inside the table cell) to match the graphic, so you can't see the join. Then set the table width to "100%" instead of specifying a pixel width. Then the page will look filled, no matter what res you view it with.
__________________
urb is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT -4. The time now is 01:23 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc