Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates with mouse wheel scrolling and $().totemticker() functions. #10

Open
wants to merge 2 commits into
base: master
from

Conversation

@pynej
Copy link

commented Jan 31, 2013

...in.

  • Tickers now all get the vTicker class for css markup.
  • If a row height is specified that the items are now actually restricted to that height. Add the following css to make longer items scroll properly.
    .vTicker li { overflow: hidden; }
  • Added helper methods for easy scripting of the ticker.
    $(selector).totemticker("start");
    $(selector).totemticker("stop");
    $(selector).totemticker("previous");
    $(selector).totemticker("next");
Jeremy Pyne added 2 commits Jan 31, 2013
Jeremy Pyne
- Added support for mouse whee scrolling with the jquery.mousewheel p…
…lugin.

- Tickers now all get the vTicker class for css markup.
- If a row height is specified that the items are now actually restricted to that height.  Add the following css to make longer items scroll properly.
        .vTicker li { overflow: hidden; }
- Added helper methods for easy scripting of the ticker.
        $(selector).totemticker("start");
        $(selector).totemticker("stop");
        $(selector).totemticker("previous");
        $(selector).totemticker("next");
Jeremy Pyne
- Now triggers a change event on element rotations. You can now do this:
        $(selector).totemticker().change(function() {console.log("I was rotated.");})
- Added disableOnBlur option to pause the ticker when the browser window loses focus.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.