How to change onmouseover event to onclick instead in javascript?

Posted by KT on Stack Overflow See other posts from Stack Overflow or by KT
Published on 2010-05-14T06:27:39Z Indexed on 2010/05/14 6:34 UTC
Read the original article Hit count: 324

I am using this plugin in wordpress

http://www.iwebix.de/front-slider-wordpress-plugin-demo/

As you can see in the demo above, the left and right arrow buttons are the controls for scrolling the thumbnails and the event is onmouseover and onmouseout.

I don't know how to change this to onclick instead so that the thumbnails will scroll left and right only when the buttons are clicked.

Any help or ideas on how to do this?

Thanks!

Here is the script.

http://www.iwebix.de/wp-content/plugins/front-slider/scripts/slider.js

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events