0

Hi,

Is there some way by which a web application design view should remain the same even if the resolution of the screen is changed?

Please reply

Thanks

4
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by __avd
0

You may use a table with fixed width in pixels, if you do not want the page to resize when the screen resolution is changed.

0

Redirect webpage according to resolution. Design your webpages for different resolution use javascript to detect the resolution.

screenRes.js

switch(screen.width) {
 	case 640: goToPage('640x480.aspx'); break;
 	case 720: goToPage('720x480.htm'); break;
 	case 800: goToPage('800.htm'); break;
 	case 848: goToPage('848x480.htm'); break;
 	case 1024: goToPage('1024.htm'); break;
 	case 1152: goToPage('1152x864.htm'); break;
 	case 1280: goToPage('1280x1024.htm'); break;
 	case 1600: goToPage('1600x1200.htm'); break;
 	default : goToPage('800x600.htm'); break;
}
function goToPage(url) {
   open(url,"_self");
}

index.aspx

....
<html>
 <head>
<script type="text/javascript" src="screenRes.js"></script>
  </head>
<body>
  ...
</body>
...

Edited by __avd: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.