جرب هذا
<SCRIPT LANGUAGE="Javascript"><!--
if (self.screen) { // for NN4 and IE4
width = screen.width
height = screen.height
// Testing this first prevents firing the slow Java of NN4
}
else if (self.java) { // for NN3 with enabled Java
var jkit = java.awt.Toolkit.getDefaultToolkit();
var scrsize = jkit.getScreenSize();
width = scrsize.width;
height = scrsize.height;
}
else{
width = height = '?' // N2, E3, N3 w/Java off, probably Opera and WebTV
}
document.write("درجة وضوح الشاشة لديك:");
document.write(width +"×"+ height)
//or whatever based on the above results
//--></SCRIPT>
او هذا
<p align="center"><font size="2" face="Tahoma" color="#3399FF"> <a href="javascript:var intwidth;var intheight;intwidth=prompt('ضع العرض الذي ترغب','');intheight=prompt('ضع الارتفاع الذي ترغب','');intwidth=parseInt(intwidth);intheight=parseInt(intheight);if(intwidth>0&&intheight>0) {window.resizeTo(intwidth,intheight);}else{alert('لم تدخل العرض والارتفاع المطلوبين');}">غير مقياس الصفحة</a></font></p>
__________________
لك مني دعوه يا سوالف في ظهر الغيب
ابو ريان