Makestation
[Project] nok.js - Printable Version

+- Makestation (https://makestation.net)
+-- Forum: Technical Arts (https://makestation.net/forumdisplay.php?fid=45)
+--- Forum: Web Design & Internet (https://makestation.net/forumdisplay.php?fid=62)
+---- Forum: Resources & Tutorials (https://makestation.net/forumdisplay.php?fid=56)
+---- Thread: [Project] nok.js (/showthread.php?tid=2301)



nok.js - effone - February 13th, 2019

nok.js is a full-fledged jQuery notification plugin with bare minimum code. 931 bytes only (616 bytes : js, 315 bytes : css)
Its a notification plugin to show toast like alerts in web pages.

Installation is simple as other jQuery plugins. usage is even simpler. No point of copy-paste, follow readme.

Github repo:
https://github.com/effone/jquery.nok

npm Package:
https://www.npmjs.com/package/jquery.nok

Demo (unofficial):
https://www.jqueryscript.net/other/Minimal-Notification-Plugin-jQuery-nok.html
https://www.jqueryscript.net/demo/Minimal-Notification-Plugin-jQuery-nok/

Feedbacks / suggestions appreciated.


RE: nok.js - Harry K. - February 23rd, 2019

I love it, works really smoothly. I'm especially surprised by the minimal amount of code. I'm a little curious to see the equivalent in vanilla JS, would these sort of animations be possible? I've recently been working on a font awesome icon selector for work, but with the requirement of no dependencies and boy oh boy when you've worked with jQuery for the majority of time using vanilla can get quite tiresome.

You should see if that's a possibility though, a pure vanilla js notification script would be something very useful. Should try to make this into a plugin for replacing default MyBB notifications.