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
Choose a base branch
from

Conversation

pynej
Copy link

@pynej pynej 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 January 31, 2013 10:38
…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");
        $(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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant