jdbc 使用properties导入数据库信息2
2014-05-16 19:22
330 查看
这里有一个例子,是打开和一个图象大小的窗口,随图象大小任意变化,你可以相似发挥。要看更多的请到 http://elove.heha.net
<SCRIPT LANGUAGE="JavaScript">
var isNav4, isIE4;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? 1 : 0;
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? 1 : 0;
}
function fitWindowSize() {
if (isNav4) {
window.innerWidth = document.layers[0].document.images[0].width;
window.innerHeight = document.layers[0].document.images[0].height;
}
if (isIE4) {
window.resizeTo(500, 500);
width = 500 - (document.body.clientWidth - document.images[0].width);
height = 500 - (document.body.clientHeight - document.images[0].height);
window.resizeTo(width, height);
}
}
</script>
Lib 2007-06-14 16:26 发表评论
<SCRIPT LANGUAGE="JavaScript">
var isNav4, isIE4;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? 1 : 0;
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? 1 : 0;
}
function fitWindowSize() {
if (isNav4) {
window.innerWidth = document.layers[0].document.images[0].width;
window.innerHeight = document.layers[0].document.images[0].height;
}
if (isIE4) {
window.resizeTo(500, 500);
width = 500 - (document.body.clientWidth - document.images[0].width);
height = 500 - (document.body.clientHeight - document.images[0].height);
window.resizeTo(width, height);
}
}
</script>
Lib 2007-06-14 16:26 发表评论
相关文章推荐
- jdbc 使用properties导入数据库信息2
- jdbc 使用properties导入数据库信息
- jdbc 使用properties导入数据库信息1
- 复习课程jdbc:使用配置文件properties进行连接数据库,数据库存取图片,批处理,时间戳,事物回滚等等
- jdbc数据库连接管理封装工具类,不同使用属性文件配置数据库连接信息(1)
- 【java工具】使用jdbc访问数据库获取某个存储过程信息及下面参数信息
- 使用FSO把文本信息导入数据库
- jdbc链接mysql的第二个例子。使用properties文件存放连接信息。使用jar文件一个
- 使用JDBC-ODBC方式连接数据库时,如何在代码中指定ODBC数据源信息
- 使用FSO把文本信息导入数据库
- 使用JDBC获取各数据库的Meta信息——表以及对应的列
- 使用FSO把文本信息导入数据库
- 使用FSO把文本信息导入数据库
- 在使用servlet时读取database.properties数据库配置文件信息方法
- Spring使用C3P0,从db.properties文件中读取信息,连接数据库
- 使用FSO把文本信息导入数据库
- ElasticSearch中使用reiver-jdbc从数据库导入数据
- 使用FSO把文本信息导入数据库
- 使用FSO把文本信息导入数据库
- 使用FSO把文本信息导入数据库