hi
i used this like this
SEMICOLON.widget.notifications('message');
in my javascript but i show a message like
Please set a message
how can i set message for show a notification in my javascript??
hi
i used this like this
SEMICOLON.widget.notifications('message');
in my javascript but i show a message like
Please set a message
how can i set message for show a notification in my javascript??
Hello,
The Notifications runs only on a jQuery Object. Please consider using the following code:
<div id="custom-notification-message" data-notify-position="top-right" data-notify-type="info" data-notify-msg="<i class="icon-info-sign"></i> Welcome to Canvas Demo!"></div>
<script type="text/javascript">
jQuery(window).load( function(){
SEMICOLON.widget.notifications( jQuery('#custom-notification-message') );
});
</script>This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
a " error
data-notify-msg must be ="<i class='icon-info-sign'></i> Welcome to Canvas Demo!"></div>
thank you it working
Hello,
Yes! We Really Apologize about the Typo! It will be Single Quotes! Thanks for your Patience.
Do let us know if we can help you with anything else or if you find any further issues with Canvas.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard