---
title: "javascript实现图放大效果"
author: "ldz0414"
date: "2010-10-27T20:29:28Z"
tags: []
categories: ["Web前端"]
slug: "javascript"
draft: false
lastmod: "2010-10-27T20:29:28Z"
id: 795888
url: "https://0414.iteye.com/blog/795888"
---

一个简单的图片放大效果：非常简单。


```html

<html>
	<head>
		<title></title>
	</head>
	<body>
		<img src="http://www.google.com.hk/intl/zh-CN/images/logo_cn.gif" onMouseOver='this.width=this.width*2' onMouseOut='this.width=this.width/2'>
	</body>
</html>

```