A Library to Raise your Web Design without Coding.

Overview

AniJS

CDNJS

A Library to Raise your Web Design without Coding.

The most easy and quick way to Raise your web!!!

Try It!!

Check the online Demonstration.

Examples

http://anijs.github.io/#examples

Installation

http://anijs.github.io/#installing

Usage

http://anijs.github.io/#using

Advantages

  • Easy to use.
  • Compact - around 7.7kb after gzipping.
  • There is no need for third party libraries.
  • Speed of development.
  • Better integration between coders and designers.

“There is one more thing ...”

Work well in iPad, iPhone, Android and the modern browsers. ;)

Documentation

Documentation Topics can be founded in the Wiki Pages.

Browser Compatibility

Check the AniJS browser compatibility table

History

For detailed changelog, check Releases.

Contributing

AniJS is like a little girl, she needs hungry and foolish community people to grow up healthy. All your issues, pull requests and stars ;) are welcome.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

The MIT License (MIT)

Copyright © 2014 Dariel Noel [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Comments
  • New maintenance team

    New maintenance team

    I've been asked to help in trying to assemble a team of people that can help with the maintenance of this project. It's been some months since the last commit and @darielnoel wants to keep the project alive, but he is scarce on time.

    People interested in helping 🙋 please join this conversation. The more the better 😃

    opened by tgirardi 13
  • Animation using jQuery

    Animation using jQuery

    How can I attach animations to elements using jQuery? I can't add html attributes as I don't have control over that. My only option is to use jQuery/Javascript to inject them.

    https://github.com/anijs/anijs/wiki/JQuery-Events-System does not speak about the same. For me the example looks complex.

    I am looking for some methods/events example which is easy to understand.

    I found the below example at https://github.com/anijs/anijs/wiki/Handling-Animations-Using-JavaScript. But how can I apply multiple animations using this method?

    question 
    opened by Purus 13
  • Make an animation before url redirection

    Make an animation before url redirection

    Hello,

    Anijs was an incredible discovery for me! This library is just awesome !!! But now I'm with a problem that limit really my ideas, the possibility to make an animation before a url redirection. After looking on the web I dont find any answer...

    So, is there a way to start an animation before an url redirection with anijs ?

    Thanks !

    opened by jlantunes 8
  • JavaScript - holdAnimClass

    JavaScript - holdAnimClass

    I love AniJS :) i have a question about this:

    AniJS.createAnimation([{ event: 'click', //if eventTarget: '.animated1', //on behavior: 'hinge bounceIn animated', //do behaviorTarget: '.animated1target', //to after: 'holdAnimClass', }]);

    The after: 'holdAnimClass' didn´t work for me. How can i get this work?

    Cheers Tobi

    opened by sofar0cka 6
  • TypeError: eventCollection[aniJSEventID] is undefined

    TypeError: eventCollection[aniJSEventID] is undefined

    Hi, thanks for the plugin, It's awesome. One problem I am facing . I have installed it for a website which I am developing. All the features as found have been properly coded. e.g.

    1. I have written
    1. I have written your data- attribute for my
      e.g.
      But one interesting feature I am observing. I can view the animation in Chrome but not in Firefox. i have took the Console and found there is a Type Error saying which is "TypeError: eventCollection[aniJSEventID] is undefined". I have seen your script. and found there it is perfect. So what is the mess I am doing?? Can you please suggest?

    Thanks in advance

    opened by amitabhaghosh197 6
  • [QUESTION] Deactivating AniJS on mobile?

    [QUESTION] Deactivating AniJS on mobile?

    Hi there! I've noticed some strange behaviours on mobile with CSS animations in my project. It's really my first time using Ani, so maybe I'm missing a point.

    Is there a way to deactivate all Ani data?

    The link: http://taudesign.com/temp/edelvives/inloove/presentacion/

    Big thanxs!

    opened by beltranrengifo 5
  • Calling an animation on mouseenter and then another on mouse leave.

    Calling an animation on mouseenter and then another on mouse leave.

    I'm trying to create a menu that bounceInUp when mouseenter the main li. Then once the mouseleave the main li runs hinge and then removes all animations to make the element disappear. This is my code:

    I have tried removing the before from the mouseleave and it just removes all classes. I have tried just adding hinge, or hinge & animate and it doesn't leave the visible class. Any advice?

    opened by mjoynes-wombat-web 5
  • anijs on joomla,please help

    anijs on joomla,please help

    hello,sorry for my bad english,I try several times to make anijs working on joomla 3.3 but it still not working.I don t know why, I see the codepen, examples etc.. I do but the code has no effect, no class added.I test animation only (animate.css)it is working but no anijs, no class added, I check with firebug.Perhaps a problem with jquery noconflict ?( for example I have to use the word "jQuery" instead of "$" for script ) I don t know,I need help please.I made a website just for this, for example, to test code: http://s317686623.onlinehome.fr/ can you help me and tell me where is the problem ? I found your work beautiful,and i would like to use it. thanks a lot a joomla user

    help wanted 
    opened by joomlolo 5
  • NodeJS, Express, Jade partial views issues

    NodeJS, Express, Jade partial views issues

    While test driving AniJS on a NodeJS/Express site using the Jade template engine, I have noticed that the animations do not work unless the anijs.js script reference is included directly in the partial view where the html tag to be animated with the "data-anijs" attribute exists. If the anijs script reference is included as part of a layout file(loaded into the page ) the anijs script loads prior to the view file's html, but no animation occurs. If the anijs script reference is included in the partial view, the animations work great. For obvious reasons I would rather have the script reference to anijs in the layout head tag, then just add the "data-anijs" attribute where desired throughout the site's views/partial views as with all other script libraries I am using.

    Am I missing something here or is this just the nature of the AniJS library? Good work btw.

    opened by jferrell5 5
  • Do Animation only once

    Do Animation only once

    Hello. Thank you for your lib. It's very useful. I use the v 0.4.0. I need in some situations to do the animation only once. How can I do that?

    For example:

    • if:hover, do: hinge animated;

    This constuction does the hinge everytime when I hover the element. But i need to do the Animation ONLY during the first hovering and then switch it off.

    The helper: 'after:removeAnim' doesn't work. Why? It seems that I don't understand what it is actually doing. But it doesn't stop the animation after the first time was done.

    Also the helper 'after:holdAnimClass' is not useful when I need the HINGE Animation, because using this helper after the hinge Animation the element doesn't come back its place - it disappears!

    I need the hinge animation only once, coming back the element at its old place and stop doing this animation after repeated hovering.

    Please help me =)

    opened by kossmokvin 4
  • AniJS work in Angular? (Question)

    AniJS work in Angular? (Question)

    Hello, I used the following label to encourage an item and works:

     <img src="assets/img/logo.png" data-anijs="if: load, on: window, do: zoomIn animated">
    

    But when my templates to integrate " Angular " is not working. I have been researching and found the following:

     <img src="assets/img/logo.png" data-anijs="if: DOMContentLoaded, on: document, do: zoomIn animated">
    

    Unfortunately it does not work either, I could help Source: http://regularjs.github.io/blog/2014/07/26/2014-7-26-animation-rethink/#Angular

    opened by juanlopezdev 3
  • (Question) Animate on scroll

    (Question) Animate on scroll

    Is it possible to trigger an animation on scroll? Either at a specific position on the page or when the element comes into view. And if so, can you trigger for just the first scroll?

    opened by stephanlamoureux 0
  • [Docs] Replace references to AMD modules with standard ES6 modules

    [Docs] Replace references to AMD modules with standard ES6 modules

    The battle between AMD/UMD/CJS has ended, and the JS Gods have standardised modular javascript with the introduction of ES6 modules. So if possible, it could be useful to update the docs to show Ani.js users how to use the library in the 'standard' ES6-module way.

    opened by iocouto 0
  • [Docs] Add Install Instructions Using CDNJS

    [Docs] Add Install Instructions Using CDNJS

    I found out today that Ani.js is listed in cdnjs. Perhaps the documentation for the installation of Ani.js should also include "Using Directly from CDN" as an option, too.

    opened by iocouto 0
  • Animated Elements One by One

    Animated Elements One by One

    Hi all,

    that's not a bug. I would like to know if it's possible with anijs to animate elements one by one. For example, in a table, I would like to animate all the tr individually, and not at a same time.

    Thanks!

    Alexander

    opened by Aaarrrgggh 1
  • Q: `mouseover` infinite pulse never ending

    Q: `mouseover` infinite pulse never ending

    Hi

    Another question (sorry for bombing ^^'): I have a mouseover event to pulse an element. When I remove the mouse I want the pulse to stop, but with pulse infinite animated it loops endlessly and with pulse animated just once.

    I tried to removeAnim in after but it doesn't work. What am I missing?

    Thanks a lot

    opened by nea 0
Releases(0.9.3)
  • 0.9.3(Mar 17, 2015)

  • v0.9.2(Feb 8, 2015)

  • v0.9.1(Feb 7, 2015)

  • v0.9.0(Nov 18, 2014)

    • Add the $fireOnce helper function.

    This function allows to fire the interaction events only once.

    <button data-anijs="if: click, do: flip animated, after: $fireOnce"></button>
    
    • Don't remove the animation class when animation finish.

    If you can do that you need to use the removeAnim helper on the after function.

    <button data-anijs="if: click, do: flip animated, after: $removeAnim"></button>
    
    • Usability improvements on ScrollReveal helper.
    Source code(tar.gz)
    Source code(zip)
  • v0.8.1(Oct 23, 2014)

  • v0.7.2(Sep 12, 2014)

    Change e.target by e.currentTarget when using target word.

    <body>
    <ul data-anijs="if: click, on: li, do: animated flipInY, to: target">
        <li>Anim this target</li>
        <li>Anim this target</li>
    </ul>
        <script type="text/javascript" src="anijs/src/anijs.js"></script>
    </body>
    
    Source code(tar.gz)
    Source code(zip)
  • v0.7.1(Sep 8, 2014)

  • v0.7.0(Sep 4, 2014)

    Adds target helper to the (to) definitions

    <body>
    <ul data-anijs="if: click, on: li, do: animated flipInY, to: target">
        <li>Anim this target</li>
        <li>Anim this target</li>
    </ul>
        <script type="text/javascript" src="anijs/src/anijs.js"></script>
    </body>
    
    Source code(tar.gz)
    Source code(zip)
  • v0.6.0(Sep 4, 2014)

    Adds custom helpers functions to the (do) definitions

    • $addClass classA classB
    • $removeClass classA classB
    • $toggleClass classB
    <body>
        <header data-anijs="if: click, do: $toggleClass animated flipInY">
            header (Click here)
        </header>
        <script type="text/javascript" src="anijs/src/anijs.js"></script>
        <script type="text/javascript" src="anijs/src/helpers/dom/anijs-helper-dom.js"></script>
    </body>
    
    Source code(tar.gz)
    Source code(zip)
  • v0.5.0(Jul 10, 2014)

  • v0.4.0(May 21, 2014)

  • v0.3.0(May 15, 2014)

  • v0.2.0(May 9, 2014)

  • v0.1.0(May 7, 2014)

    • Define animations declaratively
      • Define a trigger event for the animation (if).
      • Define the elements from which the trigger event is launched (on).
      • Animation behavior definition.(do)
      • Animation elements target definition.(to)
      • Execute a function before animation run.
      • Stop animation execution before running it.
      • Execute a function after animation run.
      • Helpers instance definition.
    • animationEnd and transitionEnd normalization.
    • Attach events from window and document objects.
    • Running AniJS repeatedly.
    • Change the root DOM scope.
    • Manage animations using JavaScript.
    • Purge events from any node.
    • Register new helpers.
    • Attach new functions to the helpers.
    • removeAnim Default helper function.
    Source code(tar.gz)
    Source code(zip)
Open! Inclusive! Collaborative! A community for enthusiasts exploring new technologies, working on innovative ideas and helping each other grow together. Open Issues, Raise ideas, Make Pull Requests!

About Us OplnCo previously known as Devstucom represents Open Inclusive Collaborative. We as a community help our fellow students build skills through

OpInCo Community 4 Oct 13, 2022
null 8 Nov 11, 2022
Calculating Pi number without limitation until 10k digits or more in your browser powered by JS without any third party library!

PI Calculator Web JS (Online) Calculating Pi number without limitation until 10k digits or more in your browser powered by JS without any third party

Max Base 6 Jul 27, 2022
The PatternFly Design Kit is a Sketch library used for creating PatternFly accurate design mockups

PatternFly Design Kit The PatternFly Design Kit is a collection of Sketch assets that make it easy for designers to create high-fidelity design mockup

PatternFly 44 Jan 2, 2023
Marquee is a VS Code extension designed to naturally integrate with your development flow, so that you will no longer lose track of your thoughts while you're coding

Marquee Stay organized with minimal context switching, all inside your Visual Studio Code. Marquee is a VS Code extension designed to naturally integr

stateful 60 Dec 13, 2022
A simple Node.js code to get unlimited instagram public pictures by every user without api, without credentials.

Instagram Without APIs Instagram Scraping in August 2022, no credentials required This is a Node.js library, are you looking for the same in PHP? go t

Francesco Orsi 28 Dec 29, 2022
A mock Twitter page implemented without, partially with, and then with a design system.

Design Systems Workshop A mock Twitter page implemented without, partially with, and then with a design system. Setup Install npm dependencies, then s

Josh Goldberg 5 Dec 8, 2022
An easy-to-read, quick reference for JS best practices, accepted coding standards, and links around the Web

Feel free to contribute! Where? http://www.jstherightway.org Why? Today we have a bunch of websites running JavaScript. I think we need a place to put

BrazilJS 8.5k Jan 1, 2023
Web-Technology with Aj Zero Coding. In this tutorial we learn front-end and back-end development.

Installation through NPM: The jQWidgets framework is available as NPM package: jQuery, Javascript, Angular, Vue, React, Web Components: https://www

Ajay Dhangar 3 Nov 19, 2022
💯 Materials to help you rock your next coding interview

Tech Interview Handbook Credits: Illustration by @leftaligned Read on the website Black Lives Matter. Support the Equal Justice Initiative What is thi

Yangshun Tay 84k Dec 29, 2022
Ace your next Javascript coding interview by mastering data structures and algorithms.

The Coding Interview: Algorithms + Data Structures Ace your next Javascript coding interview by mastering data structures and algorithms. Problem 1: S

Wallflower 5 Sep 19, 2022
Get a verse(an aya) from the Quran during your coding session 💻 , stay connected with the words of Allah. 🕋

Ayat ?? Get a verse(an aya) from the Quran during your coding session ?? stay connected with the words of Allah. ?? ?? Release Notes 1.0.0 Get random

Hussam Adil 27 Jan 2, 2023
Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Macaron is an open-source design tool to visually create Web Components, which can be used in most Web frameworks, or in vanilla HTML/JavaScript

Macaron 334 Dec 29, 2022
A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.

WeUI - tailor-made for WeChat web service 中文版本 Introduction WeUI is an WeChat-like UI framework officially designed by the WeChat Design Team, tailor-

Tencent 26.6k Jan 2, 2023
A collection of coding challenges from interviews and websites

coding-challenges All of these folders are challenges that I've make for interviews and from tutorials, now I'll enumerate the ones that are from inte

Matias Salicru 37 Jul 13, 2022
Generally free coding Resources for all! Check it out and don't forget to give it a star ⭐️

A-Z Coding Resources This website is built using Docusaurus 2, a modern static website generator. Installation yarn install Local Development yarn sta

Hulya Karakaya 72 Jan 2, 2023
A sandbox coding environment, desktop app, inspired by CodePen and JSFiddle

CodeBox CodeBox is a coding environment with HTML, CSS and JavaScript editors with a live preview panel to show what the code would look like in the b

Virej Dasani 98 Dec 20, 2022
This Repository consist of Daily learning JS, Assignments, coding challenge, projects, references, tutorial

?? A Tour of JavaScript This Repository consist of Daily learning, Assignments, coding challenge, projects, references, tutorial. ??‍?? ??‍?? alert(

null 23 Sep 7, 2022