Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- if ($('#smartwizard').length > 0) {
- $('#smartwizard').smartWizard({
- selected: 0,
- theme: 'dots',
- autoAdjustHeight: true,
- transitionEffect: 'fade',
- showStepURLhash: false,
- toolbarSettings: {
- toolbarExtraButtons: [$('<button></button>').text('Cancel Post')
- .addClass('btn btn-secondary sw-btn-cancel')
- .on('click', function () {
- alert('Finish button click');
- })
- ] // Extra buttons to show on toolbar, array of jQuery input/buttons elements
- }
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement