Reputation: 2772
I've been trying to put a link in a message that im sending using notyjs (http://needim.github.io/noty/). I don't want to use a noty button, just a link.
var n = noty({text: 'Hi there click, <a href="http://somehere.com">here</a> to continue'});
The problem is that the message shows with the link, but when i click. it does nothing.
any ideas? thanks
Upvotes: 1
Views: 85
Reputation: 1889
By default noty
closes on clicking anywhere in the container. To prevent this you should change the closeWith
parameter. The modified code is as below.
var n = noty({text: 'Hi there click, <a href="http://somehere.com">here</a> to continue',closeWith:['button']});
JS Fiddle : http://jsfiddle.net/nGDvU/
Upvotes: 1