$("#example1").click(function(e){
e.preventDefault();
$.fn.tikslusnotyrious({"title":'example 1',
message:"Light travels faster than sound. This is why some people appear bright until you hear them speak.",
sticky:true,
skinPath:'../'
});
});
4. OPTIONS
Parameter
Default value
Allowed Value
Description
skin
default
default,hera,hades,titan,zeus,apollo,demeter
Theme/skin to be used
skinPath
''
If you chose to put your all skin css files in seperate folder. You provide full path of the directory with a trailing '/'
Defines the path of skins directory
position
right
right,left or center
position of message on screen
message
null
valid Notification message
notification message
sticky
true
true or false
if true message will stick to screen and you have to manually close it
buttons
it's a javascript object
$.fn.tikslusnotyrious({title:'custom buttons',
message:"Light travels faster than sound. This is why some people appear bright until you hear them speak.",
sticky:false,
picture:"image.jpg",
buttons : {
button1 : {
button_class : 'btn1',
action: function(){
alert('you clicked button1');
}
},
button2 : {
button_class : 'btn2',
action: function(){
alert('you clicked button2');
}
}
}
});