想在<MAP></MAP>里实现图片切换的功能,具体进来看下,谢谢 帮你顶了,顺便接粉,这个按不会 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <map name="Map" id="Map"><area shape="rect" coords="9,1,36,113" onmouseover="addImg();"><area shape="rect" coords="36,1,61,113"><area shape="rect" coords="61,1,85,113"><area shape="rect" coords="85,1,111,113"></map><script>function addImg(){newImg = document.createElement("<img width='270' height='300' name='mypic' id='mypic' src=''>"); document.getElementById("Map").appendChild(newImg);}</script> 请教下这个JS替换函数的执行过程 请问一下我后面的数据如何写入数据库列 JS文件如何加密与解密? js函数名中加下划线是否有特殊含义,好象是用来区分事件和对象名的,是吗? 在window.onbeforeunload 事件中,加入什么代码,可以阻止窗体被关闭? 请各位高手帮小妹看一下这段代码哪有错误,谢谢!! 请问谁有这方面的例子 我如何在jsp或者html页面中实现sina聊天室左边分屏的效果 在javascript中,假如现在有一个form1,其中有一个下拉的列表框,列表框中有两项,现在如果我单击外面的一个按钮,如何使列表框(注意是下 问题1 如何取到访问地址的某一内容? js输出问题
<area shape="rect" coords="9,1,36,113" onmouseover="addImg();">
<area shape="rect" coords="36,1,61,113">
<area shape="rect" coords="61,1,85,113">
<area shape="rect" coords="85,1,111,113">
</map>
<script>
function addImg(){
newImg = document.createElement("<img width='270' height='300' name='mypic' id='mypic' src=''>");
document.getElementById("Map").appendChild(newImg);
}
</script>