JavaScript

Drop down menu

Drop down menu

20.04.19
Drop down menu can be done without JavaScript, only with the help of CSS. With :hover. But the JavaScript menu has its advantages. The most important thing is the delay. Consider a menu with one level of nesting. We...
Simple JavaScript clock

Simple JavaScript clock

18.04.19
Although this code can easily be found on the Internet, we still write a simple JavaScript clock. Clock:   <div id="clock"></div> <script> window.onload = clock; function clock(){ ...
Tabs jQuery plugin

Tabs jQuery plugin

15.04.19
Tabs are a fairly common element. There are various implementations of this element on the Internet. But often the tabs are overloaded with code filled with effects that are unlikely to be needed in ordinary tasks. The...
How to create a custom jQuery plugin

How to create a custom jQuery plugin

07.04.19
The convenience of the jQuery plugin is that you can use the same code several times for different objects. In this case, copy-paste code is not needed. In addition, you can change the behavior of the plugin with diffe...
<<  1 2 3 [4