摘要:
<form action="" name="form1"> <input type="text" name="width"/> <input type="text" name="height"/></form><script type="text/javascript">function findDimensions() //函数:获取尺寸{ //获取窗口宽度 if (window.innerWi 阅读全文
摘要:
<script type="text/javascript">//检测浏览器语言currentLang = navigator.language; //判断除IE外其他浏览器使用语言if(!currentLang){//判断IE浏览器使用语言 currentLang = navigator.browserLanguage;}alert(currentLang);//判断访问终端var browser={ versions:function(){ var u = navigator.userAgent, app = navigator.appVersion; .. 阅读全文
摘要:
<!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=utf- 阅读全文