<script>
function getSW()
{
return screen.width;
}
</script>
<input type=button onclick="alert(getSW())" value="Get Screen Width">
function getSW()
{
return screen.width;
}
</script>
<input type=button onclick="alert(getSW())" value="Get Screen Width">
解决方案 »
- 关于 window.onload 的问题
- 求此日历代码,显示效果如:www.ylmf.com/index.htm或者http://www.nongli.com/todaylhl.htm
- 关于用window.history.go后退次数好像只有6次?
- 纯js,如何判断加载一个页面时,它是刷新还是从别的地方跳转
- 代码告急???
- JS打开[保存文件对话框]出错:Automation server can't create object
- nodejs运行项目
- 怎么得到不重复的值呢?
- 我需要走马灯广告的程序源代码,谁能帮我写写。
- 如何对url进行utf-8编码?
- 如何打开一个颜色对话框?
- 为什么那个浏览器点击无效?
document('<param name="blan" value="' + get_flash() + '">'
</script>
document('<param name="blan" value="' + get_flash() + '">');
</script>