Mouse Wheel ãã¦ã¹ãã¤ã¼ã«ã¤ãã³ãåå¾ç¨ã®prototype.jsæ¡å¼µãµã³ãã«ã æ¨æºã®prototype.jsã使ã£ã¦ãããã¦ã¹ãã¤ã¼ã«ã¤ãã³ããç°¡åã«åããã¨ã¯åºæ¥ã¾ããã ã¨ãããã¨ã§ãprototype.jsç¨ã®æ©è½ãæ¡å¼µããJavaScriptã³ã¼ãã®ãµã³ãã«ãå ¬éããã¦ã¾ãã 次ã®ã³ã¼ããwheel.jsãªããã§ä¿åãã¦prototype.jsã¨ä¸ç·ã«èªã¿è¾¼ãã¨ãEvent.Observeã«mousewheelã使ããããã«ãªãã¾ãã Object.extend(Event, { wheel:function (event){ var delta = 0; if (!event) event = window.event; if (event.wheelDelta) { delta = event.wheelDelta/120; if (window.opera)
{{#tags}}- {{label}}
{{/tags}}