<applet code = "GlobalApplet.class" archive = "GlobalApplet.jar"
width = "600" height = "480" id = applet1>
</applet>
<input type = button value = go name = try onclick="resizeApplet()">
<script>
function resizeApplet(){
applet1.height = 500;
applet1.width = 500;
}
</script>
width = "600" height = "480" id = applet1>
</applet>
<input type = button value = go name = try onclick="resizeApplet()">
<script>
function resizeApplet(){
applet1.height = 500;
applet1.width = 500;
}
</script>
解决方案 »
- 一个Frame添加了Panel 报错:at java.awt.Container.addImpl(Unknown Source)
- 高手帮帮忙
- 如何培养学习能力
- new SimpleDateFormat("yyyy-MM-dd")报FileNotFoundException
- 我用的是jdk-1_5_0_04,结果报错是:软件包 javax.servlet 不存在?在线等待!
- 设置Excel的Row 颜色
- 关于正则表达是的问题
- 请问一下java class文件如何加密?
- 各们java大仙们,我用Jbuiler开发出来的Application(应用程序),如何脱离Jbuiler集成环境,能在Windows下直接运行
- 散些分数,谁知道jdk1.4在哪里有下载
- 数据库连接问题?
- 菜鸟请教关于applet的小问题
<script language="vbScript">
<!--
Sub Window_Onload
Dim nWidth,nHeight
nWidth =document.body.clientWidth
nHeight=document.body.clientHeight
if nWidth>0 and nHeight>0 then
on error resume next
rightright.width=nWidth
rightright.height=nHeight
end if
End Sub
Sub Window_OnResize
Dim nWidth,nHeight
nWidth =document.body.clientWidth
nHeight=document.body.clientHeight
if nWidth>0 and nHeight>0 then
on error resume next
rightright.width=nWidth
rightright.height=nHeight
end if
End Sub
-->
</script>
<applet name=rightright code = "GlobalApplet.class" archive = "GlobalApplet.jar"
width = "600" height = "480" id = applet1>
</applet>
<applet code = "GlobalApplet.class" archive = "GlobalApplet.jar"
width = "100%" height = "100%">
</applet>这么简单的东西还用得着这么复杂吗?用100%不就行了