用JS测试当前电脑分辨率发表日期:2011-10-28 文章来源:本站 浏览: 次
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>JS测试显示器分辨率-懒人图库</title> </head> <body> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin document.write('您的显示器分辨率为:\n' + screen.width + '*' + screen.height + ' pixels'); // End --> </SCRIPT> <p>查找更多代码,请访问:<a href="http://www.xw62.com/" target="_blank">懒人图库</a></p> </body> </html> |