Resize screen..

Results 1 to 2 of 2

Thread: Resize screen..

  1. #1
    Lynn Maharet Guest

    Default Resize screen..

    Hi all..<BR><BR>I have this problem...<BR>i want my program to be able to detect whether the terminal <BR>is a pc or laptop and resize the graphics in a page accordingly.<BR>Currently I have this set of codes and I&#039m not really sure what it does.<BR><BR>&#060;script language="JavaScript1.2"&#062;<BR>var wWidth,wHeight;<BR>wWidth = window.screen.availWidth;<BR>wHeight = window.screen.availHeight;<BR>window.resizeTo(wWid th,wHeight);<BR>window.moveTo(0,0);<BR>&#060;/script&#062;<BR><BR>Pls advise...thanks..:)<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Resize screen..

    what that script does is to maximise the window. to resize graphics, you&#039d need to detect the same two parameters, then pass the values to ASP, then dynamically write the &#060;img&#062; tags. it&#039d be easier to use flash with flexible scaling....<BR><BR>j

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts