<script type="text/javascript">
function kn1(SHQ)
{
document.getElementById(SHQ).src="SHQ1.jpg";
}
function kn2(SHQ)
{
document.getElementById(SHQ).src="SHQ.jpg";
}
</script>
</head>
<body>
<img id="SHQ" src="images/SHQ1.jpg" onmouseover="kn1('SHQ')" onmouseout="kn2('SHQ')"/>
这是我的代码 求大神指导
js代码 鼠标经过改变图片只显示一张图片是怎么回事
答案:2 悬赏:10 手机版
解决时间 2021-02-23 11:02
- 提问者网友:末路
- 2021-02-22 18:51
最佳答案
- 五星知识达人网友:几近狂妄
- 2021-02-22 19:50
public void save(){
try {
FileOutputStream outStream=this.openFileOutput("a.txt",Context.MODE_WORLD_READABLE);
outStream.write(text.getText().toString().getBytes());
outStream.close();
Toast.makeText(MyActivity.this,"Saved",Toast.LENGTH_LONG).show();
} catch (FileNotFoundException e) {
return;
}
try {
FileOutputStream outStream=this.openFileOutput("a.txt",Context.MODE_WORLD_READABLE);
outStream.write(text.getText().toString().getBytes());
outStream.close();
Toast.makeText(MyActivity.this,"Saved",Toast.LENGTH_LONG).show();
} catch (FileNotFoundException e) {
return;
}
全部回答
- 1楼网友:青尢
- 2021-02-22 20:56
function selecttag1(showcontent,selfobj){ // 操作标签 var tag = document.getelementbyid("tag2").getelementsbytagname("li"); var taglength = tag.length; for(i=0; i
- vb+access
- asp常见问题
- vi设计
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯