|
|
|
|
|
|
![]() |
#1 |
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
Join Date: Apr 2003
Location: Vancouver B.C. Canada
Posts: 89
|
![]() Hi, does anyone know if there is a way to have a title image change size for different browser window sizes? like an 800pixel width graphic for an 800x600 window, and say an 1024pixel width graphic for the 1024x768 window!
Is this even possible?
__________________
michael@twistys.com ICQ: 348682342 |
![]() |
![]() |
![]() |
#2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Flash can do that. I don't know of anyway to have a jpg or gif do that.
|
![]() |
![]() |
![]() |
#3 |
Bonged
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
|
Flash or javascript.. but either way too much effort..
Build for 800 ![]() DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<< DangerDave.com.au - Adult Links to Free Porn |
![]() |
![]() |
![]() |
#4 | |
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
Join Date: Apr 2003
Location: Vancouver B.C. Canada
Posts: 89
|
Quote:
__________________
michael@twistys.com ICQ: 348682342 |
|
![]() |
![]() |
![]() |
#5 |
All the way from Room 101
|
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.
__________________
![]() |
![]() |
![]() |
![]() |
#6 |
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
Join Date: Apr 2003
Location: Vancouver B.C. Canada
Posts: 89
|
Thanks alot urb,
I'm doing the table idea (i thought along the same lines!) The reason i was asking was i thought for bigger type sites(such as linklists, tgp, and premium avs sites i would like to alter the size of graphics displayed to maximize the sales pitch for each browser! Anyway i really appreciate the forward on the javascript page! ![]()
__________________
michael@twistys.com ICQ: 348682342 |
![]() |
![]() |
![]() |
|
|