| Server IP : 82.180.147.116 / Your IP : 216.73.216.4 Web Server : Apache System : Linux server.vsyshosting.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : demoplace ( 1009) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/1843192/root/proc/1843192/cwd/www/jategaon.in/assets/plugins/jquery-toast/dist/ |
Upload File : |
"use strict";
$(document).ready(function() {
$(".tstInfo").on("click",function(){
$.toast({
heading: 'Welcome to my Elite admin',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'top-right',
loaderBg:'#ff6849',
icon: 'info',
hideAfter: 3000,
stack: 6
});
});
$(".tstWarning").on("click",function(){
$.toast({
heading: 'Welcome to my Elite admin',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'top-right',
loaderBg:'#ff6849',
icon: 'warning',
hideAfter: 3500,
stack: 6
});
});
$(".tstSuccess").on("click",function(){
$.toast({
heading: 'Welcome to my Elite admin',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'top-right',
loaderBg:'#ff6849',
icon: 'success',
hideAfter: 3500,
stack: 6
});
});
$(".tstError").on("click",function(){
$.toast({
heading: 'Welcome to my Elite admin',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'top-right',
loaderBg:'#ff6849',
icon: 'error',
hideAfter: 3500
});
});
$(".tstSimple").on("click",function(){
$.toast({
position: 'top-left',
text: 'This will become the toast message'
})
});
$(".tstArray").on("click",function(){
$.toast({
heading: 'How to contribute?!',
position: 'top-left',
text: [
'Fork the repository',
'Improve/extend the functionality',
'Create a pull request'
],
icon: 'info'
})
});
$(".tstHtml").on("click",function(){
$.toast({
heading: 'Can I add <em>icons</em>?',
position: 'top-left',
text: 'Yes! check this <a href="https://github.com/kamranahmedse/jquery-toast-plugin/commits/master">update</a>.',
hideAfter: false,
icon: 'success'
})
});
$(".tstSticky").on("click",function(){
$.toast({
text: 'Set the `hideAfter` property to false and the toast will become sticky.',
hideAfter: false
})
});
// Animation
$(".tstFade").on("click",function(){
$.toast({
text: 'Set the `showHideTransition` property to fade|plain|slide to achieve different transitions',
heading: 'Fade transition',
position: 'top-left',
showHideTransition: 'fade'
})
});
$(".tstSlide").on("click",function(){
$.toast({
text: 'Set the `showHideTransition` property to fade|plain|slide to achieve different transitions',
heading: 'Slide transition',
position: 'top-left',
showHideTransition: 'slide'
})
});
$(".tstPlain").on("click",function(){
$.toast({
text: 'Set the `showHideTransition` property to fade|plain|slide to achieve different transitions',
heading: 'Plain transition',
position: 'top-left',
showHideTransition: 'plain'
})
});
// position
$(".tstBtmLeft").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Specify the custom position object or use one of the predefined ones',
position: 'bottom-left',
stack: false
})
});
$(".tstBtmRight").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Specify the custom position object or use one of the predefined ones',
position: 'bottom-right',
stack: false
})
});
$(".tstBtmCenter").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Use the predefined ones, or specify a custom object',
position: 'bottom-center',
stack: false
})
});
$(".tstTopLeft").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Use the predefined ones, or specify a custom object',
position: 'top-left',
stack: false
})
});
$(".tstTopCenter").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'top-center',
stack: false
})
});
$(".tstTopRight").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'top-right',
stack: false
})
});
$(".tstMidCenter").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Use the predefined ones, or specify a custom position object.',
position: 'mid-center',
stack: false
})
});
$(".tstCustom").on("click",function(){
$.toast().reset('all');
$.toast({
heading: 'Positioning',
text: 'Use the predefined ones, or specify a custom position object.',
position: {
left: 120,
top: 120
},
stack: false
})
});
});