Select Page

Tag: JavaScript

How to know the length of the path in SVG?

How to know the length of the path in SVG to animate it with the stroke offset method? Well, the answer is very simple. Just use the following JavaScript and update its selector to that of the path you want to calculate the length of. Check the length value in the...
Webpage redirect using JavaScript

Webpage redirect using JavaScript

Webpage redirects are the simplest but widely used functions in website development. Here are simple one-liner scripts that you can use on your web page if you want it to automatically redirect to another location or web page using JavaScript. The two ways to do it is...
FullCalendar – full-sized JavaScript Calendar

FullCalendar – full-sized JavaScript Calendar

full calendar The FullCalendar Approach FullCalendar is great for displaying events, but it isn’t a complete solution for event content-management. Beyond dragging an event to a different time/day, you cannot change an event’s name or other associated...