JS Special effects Code: JS Special effects

Source: Internet
Author: User
Tags eval

<!--image Amplification-->
<!--two steps to install Image Resizer-drag and drop:
1. Copy the coding into the head of your HTML document
2. Add the last code into the body of your HTML document-->
<!--step One:paste This code into the head of your HTML document-->
<script language= "JavaScript" >
<!--This script and many more are available free online at-->
<!--the JavaScript source!! Http://javascript.internet.com-->
<!--begin
function Resizeimage (evt,name) {
Newx=evt.x
Newy=evt.y
Eval ("document.") +name+ ". Width=newx")
Eval ("document.") +name+ ". Height=newy")
}
End-->
</script>
<body>
Click Drag to enlarge the picture size.
<p>
Width= "height=" name= "Image1"
ondrag= "Resizeimage (event," Image1 ")" > This article links http://www.cxybl.com/html/wyzz/JavaScript_Ajax/20120708/31776.html

Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.