Skip to content

knightpr/rauniyar-cookiesbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#jQuery Cookies bar plugin

##Description This is simple jquery plugin to show the cookies bar. One can customize the setting options as described below:

###default settings

{
  privacyURL: 'http://www.cookielaw.org/the-cookie-law/',
  background: '#444',
  fontColor : '#fff',
  textAlign:'center',
  borderRadius: '2px',
  fontSize: '15px',
  padding : '5px',
  btnBackground: '#7DAF3B',
  btnColor: '#222',
  btnText : 'Got it!',
  fadeOutTime: 1000,
  text: 'Cookies help us deliver our services. By using our services, you agree to our use of cookies.',
  position: 'relative',
 'zindex': 'initial',
  top:'0',
  onScrollAccept: false
 }

##Example customize your cookies bar $.cookiesBar({ background:'blue', fontColor:'#eee' });

###Dependecy It depends on the JQUERY plug in, so before using this, make sure you have jquery libarary is loaded.

###usages

$.cookiesBar();

###Install via bower

bower install rauniyar-cookiesbar

About

This is simple jQuery plugin to show the cookies bar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published