Parallel scrolling

Parallel Scrolling

In this tutorial, we have to see about parallel scrolling using javascript. What is parallel scrolling and where I used? For my prototyping tool, need this requirement of the parallel scrolling in timeline section. In the timeline, the section has two subsections left panel, right panel. the left panel has a list of elements with CSS properties, the right panel contains duration, easing, delay for each CSS property. If left panel scrolled, then need to scroll right panel automatically and vice-versa. Let see the simple script used in parallel scrolling.

Read more…

Collision detection using javascript

Collision Detection Using Javascript

car illustration from vectorstock.com

 

Hi… ? The simple fun exercise for collision detection with javascript.  In most of the game apps like car game, if car hits(collision) on the wall or any another car then you lose the game and need to play again. Now we’re going to see how to find if two elements are hits or not. Let’s see how it’s working.

Read more…

Scroll timeline using javascript

Scroll Me progress for content javascript (1)

Hi 🙂 Today in this tutorial, We’ll discuss a timeline for scroll content using javascript. In most blogs like HubSpot, Cricinfo shows how long reader need to scroll scrolled within the page by which they can identify the content height and how long need to read.(To know how long the content is and how long readers read). Let see how to create a timeline for scroll content with javascript. Read more…

Detecting Adblocker with Javascript

adblocker detector

Now-a-days most of the readers installed adblocker plugin which blocks annoying ads in the browser. But from the publisher’s point of view adblocker is killing the revenue of the website. Most of the publisher share their content for free of cost and gets revenue from displaying ads to pay for hosting, domain, emails, writers and other services. Let see how to detect adblocker with javascript. Read more…

SVG Dancing line using greensock

Dancing svg line

Hey 🙂 … Welcome to dropinks. In this tutorial, we will play with SVG dancing lin using greensock. I have an idea to do trampoline in SVG. Before that, I want to do dancing SVG line by changing path data from one value to other using greensock platform by animating SVG line dragging. On mouse leave line gets back to its position by dancing effect. Let’s see how path data is dancing. Read more…