Monday, June 6, 2011

I need a Java applicaion, a rotating knob for changing pictures.?

Does anyone know of a good javascript, exact source and examples where I can find this. I have a design, where when you rotate the knob (like a volume knob), the image on the web page changes. The image change reponds like volume.

eg: there are 2 images - red on the left, and blue on the right. As I rotate the knob clockwise, the red image keeps fading out and the blue image keeps fading in. I rotate the knob anti clockwise, then the oppsite happens.



Does anyone know how to do this or can anyone point me to a good source.



Thank youI need a Java applicaion, a rotating knob for changing pictures.?
a google only picks up an ActionScript example. ActionScript is close to javascript, at least ECMA standards. They use .png sequence to effect the rotation. javascript can rotate a %26lt;div but that would be extra slow and in some implementations restrict you to a specific platform, such as Windows. .svg graphics show a promising technique, but you would be restricted to FireFox. For what you're asking, java programming could do it, but this wouldn't be a trivial program to write.

No comments:

Post a Comment