Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Background Resize
ExplosioN
post 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 smile.gif
Go to the top of the page
 
+Quote Post
ExplosioN
post 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?
Go to the top of the page
 
+Quote Post
truefusion
post Aug 1 2005, 01:45 AM
Post #3


Ephesians 6:10-17
Group Icon

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.
Go to the top of the page
 
+Quote Post
Tyssen
post 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.
Go to the top of the page
 
+Quote Post
iwuvcookies
post 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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Fixed Background Image(10)
  2. Usemap And Table Background Image Changing(5)
  3. Background Image Picture On A Website(3)
  4. Help With Background Image(6)
  5. Ok Background Help Please(4)
  6. Background Question(12)


 



- Lo-Fi Version Time is now: 7th October 2008 - 01:45 AM