Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sticky Alert Options
$(document).ready(function() {
$('#alert-container').stickyalert({
barColor: '#222', // alert background color
barFontColor: '#FFF', // text font color
barFontSize: '1.1rem', // text font size
barText: 'I like bass and car audio :)', // the text to display, linked with barTextLink
barTextLink: 'http://test-tyler-longren.pantheonsite.io/', // url for anchor
cookieRememberDays: '2', // in days
displayDelay: '3000' // in milliseconds, 3 second default
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.