Nesting Penguins Molt

    jquery-text-marquee

    0.1.1 • Public • Published

    jQuery Text Marquee

    A simple plugin for text marquee using jQuery and css with some minimal customization for now.

    Examples

    Bounce Mode Loop Mode
    Bounce Mode Loop Mode

    Install

    <script src="https://cdn.jsdelivr.net/npm/jquery-text-marquee@0/dist/jquery.text-marquee.min.js"></script>
    • Download: zip

    Usage

    1. Include jQuery:

      <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
    2. Include plugin's code:

      <script src="dist/jquery.text-marquee.min.js"></script>
    3. Call the plugin:

      $("#my-text-marquee").textMarquee(options);

    Parameters

    Options

    You can customize the plugin by passing an object of properties. Here's a list of all properties and it's default values:

    $("#my-text-marquee").textMarquee({
        mode: 'bounce'
    });

    mode

    Sets the type of animation. Available modes are: bounce, loop

    Default value: 'bounce'

    Contributing

    Check CONTRIBUTING.md for more information.

    License

    MIT License © Stefano Marra

    Install

    npm i jquery-text-marquee

    DownloadsWeekly Downloads

    4

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    686 kB

    Total Files

    18

    Last publish

    Collaborators

    • stefanomarra