How to fix window.open(url) opening two tabs

#javascript #tip: How to fix window.open(url) opening two tabs window.open(‘url’) may open double tabs when clicked in IE/FF/etc. Google Chrome is superior and is the first one to bring the latest updates from the W3C announcements, in my opinion! Browsers may behave differently for “window” functions.Prefix “javascript:” for getting standard implementation output. use javascript:window:open(‘url’) instead

Basics of creating Parallax Effect using HTML CSS and JavaScript

In this article I’ll explain what a Parallax is? What does it mean? How to create one from scratch? There’re so many JS libraries out there that I used to the effect in action but I never thought of getting into the basics of its What & How. Trust me, it’s that simple. Let’s move … Read moreBasics of creating Parallax Effect using HTML CSS and JavaScript

Drag Drop & MouseMove Event Handling in Javascript

Below is an example of mousemove event handling that has mostly been used with drag & drop. Three DIVs are used to demonstrate in this example, the first one contains a picture on which I’ve performed Drag & Drop to move it’s container. The second one records all the mouse movements with it’s current location … Read moreDrag Drop & MouseMove Event Handling in Javascript