Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
jBar is a simple and lightweight jQuery notification (call to action) banner
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
img
js
vendor
Gemfile
Gemfile.lock
Rakefile
demo-cookie.html
index.html
readme.md

readme.md

jBar2

jBar2 is a simple and lightweight jQuery notification banner (an alternative to the Hellobar). It allows you to create a simple call to action and bring it forward for the user to see at the top (or bottom) of your website. The user can then toggle the visibility of the bar by clicking the ribbon.

Demo

see index.html

Usage

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js/jquery.jbar2.js"></script>
<link rel="stylesheet" href="css/jbar2.css">
<script>
$(document).ready(function() {
    $.jBar.init('message', {position: 'bottom'});
});</script>

Acknowledgements

Code based on jbar

TODO

  • implement example with sharing buttons (addthis)
  • implement example showing latest tweets
  • online demo
  • implement it without images using ⇩ and ⇧
  • combine images in sprite
  • responsive design
  • news ticker
Something went wrong with that request. Please try again.