Scripts

CSS Non-Selectable Text, Javascript Disable Text Selection

CSS Non-Selectable Text, Javascript Disable Text Selection

Text in the web is selectable by default, CSS style and JavaScript is available to disable text selection which might be needed in some case. May be...

Making IE Behave Like Normal Browser

Making IE Behave Like Normal Browser

While we’ve seen record lows in Internet Explorer usage, and usage continues to drop at a steady clip, there are still users who continue to use...

How to make a Smooth Scrolling “Back To Top” Button with jQuery

How to make a Smooth Scrolling “Back To Top” Button with jQuery

A common usability feature on a lot of sites is a “Back to top” link at the bottom of long pages, allowing users to quickly get back to the start...

Preload an Image using JavaScript or HTML

Preload an Image using JavaScript or HTML

Many times, we need to “preload” an image into browser’s cache for performance concern. For instance, we have a mouse-over event and the image...

Disable Right Clicking and Image Saving using JavaScript

Disable Right Clicking and Image Saving using JavaScript

This is a cross browser DHTML script that will prevent the default right menu from popping up when the right mouse is clicked on the web...