Last active
July 15, 2017 19:19
-
-
Save tlongren/3a82bb2630766945e9fe46ed84a18aea to your computer and use it in GitHub Desktop.
Sticky Alert Options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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