Use javascript to change and control the size display picture

Related Tags:

  <IMG src = "images / forumnew.gif" style = "border: 1px # ff0000 solid" name = ntimg onResize = "javascript: for (i = 0; i <123 & & (this.width> 100 | | this.height > 100); i) = (this.width-this.width/10) / * alert (this.width) * / "_onLoad =" alert ( 'for the picture, but is animated GIF, you miserable, and the Commissioner can not ') "> 
  OnResize show that the picture changed after the size of the original 34 
  <a Href=# onClick="document.all.ntimg.width =100 "> increase xxxx xxxx </ a> 
  <a Href=# onClick="document.all.ntimg.src ='images/input.gif' "> yyyyyy plans for yyyyyy </ a> 
  <a Href=# onClick="alert( document.all.ntimg.width '&' document.all.ntimg.height) "> yyyyyyy map size yyyyyy </ a> 

Related articles:

XHTML Guide (2)
  XHTML DTD definition of the types of documents.    In XHTML, we must declare the type of document, the browser so you know what type of document, and added a statement in the document should be part of the head before.    Such as:    <! DOCTYPE Doctype goes...
On the website's staff produced TV-like effect Table
  The production of the website, the integrated use of dhtml, css technology, combined with <marquee> labels, in the Web page can be realistically modeled after a similar television programme titles in his staff table results.    Approach is to use <div> tags in the style ...
Detailed Explanation random function
  FLASH on the results, I think we want to make that kind of "people see not only never forget, but also want to read" effect?    "One can never forget" of course, master works, "also want to read" also needs strong foundation and works rich connotations....
South Korean popular animated menu and the production
  Animation effects:    Click here to view results    Click here to download the source files    Guide: Click here to view the Guide  <embed src=http://www.webjx.com/upfiles/20060106/20060106091042_2.swf pluginspage='http://www.macromedia.com/shockwave/...
Swift-footed in with the CSS: HTML structure of the (recommended)
  You are learning CSS layout?    Is it still can not fully grasp pure CSS layout?    There are usually two circumstances hinder your learning:    The first possibility is that you have not understood the principles of pages dealing with CSS.    In the ...