|
|
|
|
![]() ![]() |
Jul 31 2005, 01:21 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 31-July 05 Member No.: 10,068 |
Does anyone have the javascript for a background to resize? I want my background to resize to 1024x768 if the visitor has resolution 1024x768, to 800x600 if the resolution is 800x600 etc.
Greets, ExplosioN |
|
|
|
Jul 31 2005, 01:49 PM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 31-July 05 Member No.: 10,068 |
oh I forgot to add, is it possible to make limits on it? Like the image won't resize anymore if the resolution is smaller then 800x600?
|
|
|
|
Aug 1 2005, 01:45 AM
Post
#3
|
|
|
Ephesians 6:10-17 ![]() Group: [MODERATOR] Posts: 1,916 Joined: 22-June 05 From: The World of Gentoo Member No.: 8,528 |
I think you can do it w/o javascript. Just make one for 1024x768, but make it so if it were to be seen in 800x600, it wouldnt be noticable. I've seen it done before. The layout would have to be aligned to the left, while the background would take care of the right side.
|
|
|
|
Aug 1 2005, 02:22 AM
Post
#4
|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,161 Joined: 9-May 05 From: Brisbane, QLD Member No.: 6,818 |
You can't resize the background image, it'll only display at its full size, but you can serve up different images based on the browser size.
Use My Google to find a script that works for you. |
|
|
|
Aug 1 2005, 03:10 AM
Post
#5
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 675 Joined: 11-September 04 Member No.: 1,079 |
If you find the site could you please tell me to as I would like to know how to do this too. I'll join the search for this script too.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 7th October 2008 - 01:45 AM |