Get started with backbone.stickit CDN

MIT licensed

Backbone.stickit: library. Automatically attaches fixed elements to page bottom at reach.

Tags:
  • backbone
  • data-binding
  • client
  • browser

Stable version

Copied!

How to start using backbone.stickit CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with backbone.stickit CDN - cdnhub.io</title>
  <link rel="stylesheet" href="styles.css">
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
  <script src="https://cdn.cdnhub.io/backbone.stickit/0.9.2/backbone.stickit.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js"></script>
</head>
<body>
  <div id="container">
    <ul id="myList">
      <li><div class="sticky">Sticky item 1</div></li>
      <li>Item 2</li>
      <li>Item 3</li>
      <li>Item 4</li>
      <li>Item 5</li>
      <li><div class="sticky">Sticky item 2</div></li>
    </ul>
  </div>
  <script src="script.js"></script>
</body>
</html>
Copied!
Copied!
Copied!

All versions