richhollis/vticker — pull request #6 by juliansantaana (2013-05-17 23:04:36+00:00)
Title: Unexpected behavior when the vTicker is paused and the mouseenter mouseout gets executed.

So, im changing this behavior cause in my opinion it's not the expected one. I look forward to hear what you think about it and discuss further more.
How its working right now:
-Initialize a vTicker.
-send a vTicker("pause", true)
-if the user mouses over the vTicker it's going to start scrolling again and the pause is set to false.

What i did with this pull request:
if the "pause" is set via code, then when the user mouses over the vTicker the event is discarded, so that the vTicker does not activate itself automatically.

I think this is how it should work and what's being expected, cause if i pause the ticker via code it should have effect on all the parameters of the ticker.

I'm also adding an option to the constructor to start the vTicker already in pause state.

What do you think?