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...
Vertical alignment

Vertical alignment

19.04.19
There are several ways of vertical alignment. In different situations, different ways are suitable. Consider some of them. 1. With display: flex It's the most convenient and modern way. .parent{ display: flex; a...
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(){ ...
Joomla DB Queries

Joomla DB Queries

16.04.19
Consider two types of queries into the Joomla database by its own means. The code was written for CMS version 3.0 or higher. Perhaps in the versions below it will also work, but it was not checked. For clarity, the ex...
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...
<<  1 2 3 4 5 [67  >>