An ugly way to auto-refresh a web page
Add inside the <head> tag the following: The value of the content is in seconds. So the above will refresh the page […]
Add inside the <head> tag the following: The value of the content is in seconds. So the above will refresh the page […]
IF you want to track asynchronously the adwords conversions in your page, the most elegant way to do this is by using […]
Let’s say you need a burger button to toggle your primary menu which as the class primary-menu The HTML markup <span class=”menu-toggle” […]
The npm version of Malihu Custom scrollbar doesn’t work perfectly (mousewheel scroll not working etc). If you want to use the malihu-custom-scrollbar-plugin within your ES6 […]
You can easily make a slider that scroll vertically, just initialize it as shown below: $(‘YOUR_SELECTOR’).slick({ vertical: true, infinite: false, dots: false, […]
If you have links inside your slide and you want to be clickable then you have to disable the swipe option in […]
If you want to use the skycons icons with forecast.io then the following code will fit your needs. First inlcude the skycons.js […]
Fahrenheit to Celsius converter: function f2c(ftemp) { return Math.round((ftemp – 32) * 5 / 9); }
Performs a binary search on the input array. Here is the algorithm /** * @param Array The array to search in * […]