Handle mouse wheel event with jQuery jMouseWheel plugin

Recently, when answer this question on stackoverflow, I found that old way of cross-platform mouse wheel event detection have failed on new version of Firefox and Chrome. After some study on MDN, I have begun to write a new jQuery plugin to support the mouse wheel event call jMouseWheel. You can get the full source … Continue reading Handle mouse wheel event with jQuery jMouseWheel plugin

Setup development evironment for SCALA 2.9 and Netbeans 7.0 in linux (Ubuntu 11.04)

Install scala Go to https://www.scala-lang.org/downloads and get the tgz package for Unix, MacOS X, Cygwin. The current latest stable release is scala 2.9.1 Suppose that the downloaded package is in your home directory, open the terminal and type these lines: $> tar -xvf scala-2.9.1.final.tgz $> sudo mv scala-2.9.1.final/ /usr/share/scala/ Remember to replace the 2.9.1 by … Continue reading Setup development evironment for SCALA 2.9 and Netbeans 7.0 in linux (Ubuntu 11.04)