广州冠心病哪个医院好:关于代码

来源:百度文库 编辑:中科新闻网 时间:2024/03/29 17:21:23
<P><IMG onmouseover="if(this.resized) this.style.cursor='hand';" onclick="if(this.resized) {window.open(this.src);}" src="http://photo.greedland.net/htmlpic/2005/08/12/094249.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window';}" border=0></P>
这段代码是什么意思?用的是什么语言?(我知道其中一部分是HTML语言)

javascript

上面代码得左右就是那种图片预览得作用,一个小图片,当点击得时候就重新在一个窗口中打开原始图片