Toastr Help

1 reply · opened Dec 12, 2020

SsilkysackDec 12, 2020

Hello, looking to put an onload Toastr Notification located at the bottom-center. Using following code from documentation

 DELIVERY Click Here!">
	
	jQuery(window).load( function(){
		SEMICOLON.widget.notifications( jQuery("#custom-notification-message2") );
	});
	

I have three issues...

  1. The Notification is not popping up on load, not sure why?

  2. I would also like to know how to make the notification stay on full time without auto timeout.

  3. Can I make the entire notification a button that opens a modal? Like this one below?


					
						
							
								
Delivery

							
							
								[Close this Modal](#)
							
						
					
SSemicolon WebSTAFFDec 13, 2020

Hello,

  1. This code should work perfectly fine. However, since it is not working fine, we wonder if there might be some JS Conflict on the Page? You can check this using your Browser's Developer Console.

  2. Simply add the data-notify-timeout="9999999" Attribute to the Notification DIV.

  3. Unfortunately, this is currently not supported. Since the Notification Element is handled using jQuery. We will work on this and try adding a solution for this soon.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

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