You Are Viewing Posts Under Category: JavaScript Codes

Show-Hide-Child-Sub-Menu-Vertically-Using-Pure-JavaScript

Show/Hide Child Sub-Menu Vertically Using Pure JavaScript

Do you have many menus to view in your sidebar and have to save web page space on your blog or website too to make it look better then the first step is to organize your menu links under category so it will be easy for user to go to their desire link easily and […]...
JavaScript-Confirmation-POPUP-To-Run-Next-Function-Or-Go-Back

JavaScript Confirmation POPUP To Run Next Function Or Go Back

A confirmation dialog box is mostly used to take user’s consent on any option. It displays a dialog box with two buttons: Cancel. If the user clicks on the OK button, the window method confirm() will return true. If the user clicks on the Cancel button, then confirm() returns false. You can us...
Dynamically-Add-Delete-Form-Fields-Elements-Using-Pure-JavaScript

Dynamically Add/Delete Form Fields Elements Using Pure JavaScript

Ok so someone at work has built a form and then the boss comes back and says he wants to cross sell the products entered into the input fields by dynamically creating a list with links to alternative products and accessories. Unfortunately the person who has built the form page is away so you’ve g...
Simple-HTML5-And-JavaScript-Drag-And-Drop-Snippet

Simple HTML5 And JavaScript Drag And Drop Snippet

Drag and Drop (DnD) is powerful User Interface concept which makes it easy to copy, reorder and deletion of items with the help of mouse clicks. This allows the user to click and hold the mouse button down over an element, drag it to another location, and release the mouse button to drop the element...
Tiny-Grid-Masonry-Pure-JavaScript-Library-For-Web

Tiny Grid Masonry Pure JavaScript Library For Web

When you float objects in CSS, the browser arranges elements first horizontally then vertically. When we fill a container with a bunch of equally sized objects and float them left, we get a nice grid of images. The term Masonry layout probably owes its name to the popular Masonry plugin that is used...
Get-Social-Share-Counts-Of-URL-With-Pure-JavaScript

Get Social Share Counts Of URL With Pure JavaScript

Do you want to show your url share count of pinterest, facebook, twitter and google plus to your user then its time to get total social share counts of url with pure javascript little script. socialcount.js is a tiny JavaScript library for getting the counts that a specific website (URL) has been sh...
Change-CSS-Image-On-Every-Reload-Of-Blog-Or-Website

Change CSS Image On Every Reload Of Blog Or Website

CSS Customization is now trending in web designing and development and many designers are using custom CSS to stylify there blog or websites. But when your blog or website will have only one design for every users then it will look same to everyone but when you will give different CSS to everyone. S...