The problem is the site demo where do you get the code; in the site example there is a buttonset with class .button
that switch the notify behaviour by using the id of the cicked button:
$('.notification.' + $(this).attr('id') + '').notify({ type: $(this).attr('id') });
You don't have that button so you can use directly your needed notify type.
The possible values for type
option are:
- sticky
- floated
- fixed
- ondemand
Code:
$(document).ready(function () {
$('.notification.ondemand').notify({ type: 'ondemand' });
});