Re: background

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37290
interpreted = N
texte = since browser windows can be any size or shape.. what i would do is save the image at an average size resolution (600x800 is the designers average resolution, but i usually go for 1024x768) and then use javascript to find the inner width and inner height of the window and give the background image those properties..these properties are available in javascript 1.2 and higher that might be usefulinnerHeight, innerWidth, outerHeight, outerWidththese are the dimentions of your window, however, these are not available in Internet Explorer 4.0 and you may have to either A. scrap this idea, or B. write a supplementary script for IE 4. i personnally wouldnt worry about it because IE 4.0 wouldnt support most of your CSS stuff either.but anyway.. if you use these properties, you can determine the size of your image and scale it correctly. it may be stretched if its a higher resolution than 1024x768 (if you go with the one image one resolution deal) but it should look fine in 600x800 (the designers average)hope this helps-- celeste Kelly Wiseman wrote:> Hey everybody. I am using CSS to insert a non-repeating background on > a page. I need it to be the size of the browser window, or atleast > the user's screen resolution. I figured that I would save the image > at the most popular resolution sizes, then get info from the user > about their resolution and use the appropriate image. In order to do > this I need to get their resolution. Does anyone have any clue how > I can accomplish this? I have seen discussions on this in the past, > and it seemed like at that time it was not possible, but it might be > in the near future. Any new information?? Any other ideas on how to > accomplish this? Thanks for your help. > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] html background att ( Stuart Tremain 2003)
  2. Re: [OT] html background att ( Donovan 2003)
  3. Re: [OT] html background att ( "Andrew Simpson" 2003)
  4. Re: [OT] html background att ( "Dan Strong" 2003)
  5. Re: [OT] html background att ( Alex McCombie 2003)
  6. Re: [OT] html background att ( Donovan home EHG 2003)
  7. Re: [OT] html background att ( "Dan Strong" 2003)
  8. Re: [OT] html background att ( kmac 2003)
  9. [OT] html background att ( Donovan home EHG 2003)
  10. Re: [OT Rebound] how to set w* backgroundserver (charles kline 2002)
  11. [OT Rebound] how to set w* backgroundserver (alfred wippermann 2002)
  12. Re: background (Josh Lynn 2001)
  13. Re: background (Celeste Paul 2001)
  14. Re: background (Nitai @ ComputerOil 2001)
  15. Re: background (Kenneth Grome 2001)
  16. background (Kelly Wiseman 2001)
  17. Re: Music in background (chas@valley.net (chas) 2000)
  18. Re: Music in background (Kenneth Grome 2000)
  19. Music in background (Dunand ADV 2000)
  20. BACKGROUND (Adriana Ferro 2000)
  21. Re: BACKGROUND (Peter Werno 2000)
  22. Re: BACKGROUND (Anup Setty 2000)
  23. Re: BACKGROUND (John Winningham 2000)
  24. Re: Displaying backgrounds (Marty Schmid 1999)
  25. Displaying backgrounds (Puchalski, Steve 1999)
since browser windows can be any size or shape.. what i would do is save the image at an average size resolution (600x800 is the designers average resolution, but i usually go for 1024x768) and then use javascript to find the inner width and inner height of the window and give the background image those properties..these properties are available in javascript 1.2 and higher that might be usefulinnerHeight, innerWidth, outerHeight, outerWidththese are the dimentions of your window, however, these are not available in Internet Explorer 4.0 and you may have to either A. scrap this idea, or B. write a supplementary script for IE 4. i personnally wouldnt worry about it because IE 4.0 wouldnt support most of your CSS stuff either.but anyway.. if you use these properties, you can determine the size of your image and scale it correctly. it may be stretched if its a higher resolution than 1024x768 (if you go with the one image one resolution deal) but it should look fine in 600x800 (the designers average)hope this helps-- celeste Kelly Wiseman wrote:> Hey everybody. I am using CSS to insert a non-repeating background on > a page. I need it to be the size of the browser window, or atleast > the user's screen resolution. I figured that I would save the image > at the most popular resolution sizes, then get info from the user > about their resolution and use the appropriate image. In order to do > this I need to get their resolution. Does anyone have any clue how > I can accomplish this? I have seen discussions on this in the past, > and it seemed like at that time it was not possible, but it might be > in the near future. Any new information?? Any other ideas on how to > accomplish this? Thanks for your help. > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Celeste Paul

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Removing items from a cart is wonky... (1998) question: search return in order (1997) RE: [WebDNA] Circumnavigate Browser Timeout On Lengthy WebDNA Operations (2014) Webstar 1.3.1 PPC (1997) Mac Vs WindowsNT (1997) [subtotal] and others (1997) Stop the madness. (1997) Max Record length restated as maybe bug (1997) Search/sort in URL Was: GuestBook example (1997) Speed Optimization - Mac (1997) WebCommerce: Folder organization ? (1997) File Upload (1997) WCS Newbie question (1997) Date Formats (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) RE: error count with $purchase (1997) [sendmail] and [formvariables] (1997) Location of Browser Info.txt file (1997) Copyright ? (1997) shipping costs (1997)