Download the PHP package gianlucagiacometti/web-toolbox without Composer
On this page you can find all versions of the php package gianlucagiacometti/web-toolbox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gianlucagiacometti/web-toolbox
More information about gianlucagiacometti/web-toolbox
Files in gianlucagiacometti/web-toolbox
Package web-toolbox
Short Description Set of tools for website development
License GPL-3.0-or-later
Homepage https://github.com/gianlucagiacometti/web-toolbox/
Informations about the package web-toolbox
web-toolbox
This is a set of tools for web developers written with two concepts in mind: a gadget should do at least what it is supposed to do and, at the same time, it should do no more that what it is supposed to do. In other words, keep it as simple as possible.
I, of course, used jQuery. I consider jQuery the most powerful javascript library ever, and I have never felt the need to re-invent the wheel.
I also appreciate Bootstrap, Bootstrap-Icons and FontAwesome (free version), and I consider them not only very useful web designing tools, but also the very basis of modern web design. Therefore, I conformed the layouts to the Bootstrap standards and I designed all my tools for an optional use of the two icon sets.
Install
or
and include the CSS and JS files in your web page
Tools
jquery-toast
I decided to write a simple function on purpose. No need for a jQuery plugin, at least so far.
Usage
or, since the function returns a jQuery object:
Basic usage examples
Toast type
type can be any string.
If the type value is one of the following: "success", "info", "warning" or "error", a default colour is automatically set for the title, the header background, and, if there is one, the header icon. These default colours correspond to the equivalent Bootstrap colours for the same message types.