Cascading Style Sheets Tutorial

Mouse Wheel procedures, as well as examples of CSS attributes zoom

  <Img src = 'http://www.lshdic.com/bbs/image/mu.jpg' onmousewheel = 'alert ( "Wheel of" + event.wheelDelta)' onclick = 'this.style.zoom = parseInt (this . style.zoom) +1' oncontextmenu = 'this.style.zoom = parseInt (this.style.zoom) -1; return false'id = a style =' position: absolute; zoom: 1 'title =' left Click to enlarge a times, right-click a narrow times Mouse Wheel Control '> 
<script>
  Top1 = 0; 
  Function document.onmousewheel () ( 
  If (event.wheelDelta> 0) top1-= 10; else top1 + = 10 
  A.style.top = top1 
  ) 
  </ Script> 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • DotNetKicks
  • DZone

Tags: css attributes, css mouse style, layout examples, xhtml attributes

Releated Posts

  • Examples explain examples of the attributes of flash
  • CSS primary entry: text attributes
  • Break Dreamweaver8.0: Shorthand CSS Attributes
  • Css attributes and the general use of filters
  • Expression of the CSS custom attributes to achieve forms OnMouseOver effects

This entry was posted on Thursday, January 31st, 2008 at 12:00 am and is filed under CSS Tutorial By Examples. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« How to use their own CSS Blog replace the default style (Author: Xuefeng)
Site Reconstruction CSS style sheet and the optimization techniques »

Leave a Reply

  • Categories

    • CSS Properties (491)
    • CSS Tutorial (1154)
    • CSS Tutorial By Examples (1201)
    • Css+Div Web Design (3274)
    • Xhtml and Web Design (1797)
  • Archives

    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
  • Pages

    • About us

Cascading Style Sheets Tutorial