3 Replies - 9670 Views - Last Post: 20 September 2002 - 11:20 AM Rate Topic: -----

#1 Fygar  Icon User is offline

  • I liek milk!!1
  • member icon

Reputation: 6
  • View blog
  • Posts: 4,361
  • Joined: 28-March 02

Check Client-side Resolution

Posted 20 September 2002 - 10:49 AM

I want to resize pictures depending on the clients screen size, I know there is a way to do this in ASP but can't remmeber, help, anyone? thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: Check Client-side Resolution

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Check Client-side Resolution

Posted 20 September 2002 - 11:11 AM

Fygar, on Sep 20 2002, 01:49 PM, said:

I want to resize pictures depending on the clients screen size, I know there is a way to do this in ASP but can't remmeber, help, anyone? thanks.

<script Language=Javascript type="text/javascript">
var screen_ht = screen.height
var screen_wd = screen.width
msg = "Your screen size is " + screen_ht + " x " + screen_wd
document.write(msg)
</SCRIPT>

HTH :)
Was This Post Helpful? 0
  • +
  • -

#3 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Check Client-side Resolution

Posted 20 September 2002 - 11:18 AM

Amadeus, on Sep 20 2002, 02:11 PM, said:

Fygar, on Sep 20 2002, 01:49 PM, said:

I want to resize pictures depending on the clients screen size, I know there is a way to do this in ASP but can't remmeber, help, anyone? thanks.

<script Language=Javascript type="text/javascript">
var screen_ht = screen.height
var screen_wd = screen.width
msg = "Your screen size is " + screen_ht + " x " + screen_wd
document.write(msg)
</SCRIPT>

HTH :)

*hangs head sheepishly*Except, of course, you're probably looking for the code to resize the pictures. Sorry, didn't read close enough. My apologies.
Was This Post Helpful? 0
  • +
  • -

#4 Fygar  Icon User is offline

  • I liek milk!!1
  • member icon

Reputation: 6
  • View blog
  • Posts: 4,361
  • Joined: 28-March 02

Re: Check Client-side Resolution

Posted 20 September 2002 - 11:20 AM

Sweet! That's helps a lot, thanks!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1