0.7.0 • Published 8 years ago

hermes-slider v0.7.0

Weekly downloads
1
License
Apache License 2....
Repository
github
Last release
8 years ago

Utilizing CSS3 Transitions

Build Status Dependency Status devDependency Status Documentation Status Code Climate

Hermes comes with:

  • configurable background and content transitions,
  • responsiveness (automatically adjusts it's layout to screen resolution),
  • extendability (adding new transtitions is very simple),
  • component-based approach (each feature can be enabled separately),
  • HTML/CSS programming interface (no JavaScript coding required).

Getting the Code

Preferred way to get hermes is to use bower.

bower install hermes --save-dev

You can also use npm (especially if using browserify).

npm install --save hermes-slider

Hello, Hermes!

<!DOCTYPE html>
<html>
<head>
  <title>Hello, Hermes!</title>

  <!--
    There are 4 things things needed for Hermes to work:

     1. Hermes' CSS (styles for the slider).
  -->
  <link href=bower_components/hermes/dist/hermes.min.css
        rel=stylesheet type=text/css>
</head>

<!--
     2. A flag on document's body which instructs Hermes to automatically
       create and start Slider objects for all declared sliders on the page
       (no JavaScript programming required).
-->
<body class="hermes-autoboot">

  <!--
     3. Declaration of a slider (features are enabled by adding class names
       to the slider element; this is a minimal configuration, but you can
       get pretty wild in here; please consult documentation for details).
  -->
  <div class="hermes-slider hermes-defaults">
    <div id=hello>
      <h1>Hello, Hermes!</h2>
    </div>
    <div id=transitions class=hermes-theme--black>
      <p>How's the waether?</p>
    </div>
  </div>

  <!--
     4. And Hermes script (it could be placed in the head section,
       but page may render a little faster this way).
  -->
  <script src=bower_components/hermes/dist/core.min.js type=text/javascript>
  </script>
</body>
</html>

Documentation

API Reference:

User Guides:

Tutorials:

Other:

Contributing

Please read build.config.js file before contributing. Pull requests are very welcome!

License

Copyright © 2016 Maciej Chałapuk. Released under Apache License Version 2.0.

0.7.0

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago