Categories
jQuery

jQuery Cookie (Set, Get and Delete)

Cookies are the most important thing or technology for storing data on the client side environment. jQuery Cookie is a simple, lightweight plugin for writing, reading and deleting cookies from client side. At first you need to download jquery.cookie plugin and simply need to add it in your pages. <head> <script src=”js/jquery.js”></script> <script src=”js/jquery.cookie.js”></script> </head> […]

Categories
jQuery

jQuery fullscreen gallery with flip thumbnail

Using jQuery fullscreen gallery you can show full screen image with thumbnail view and flips when navigating through the next images. You can control the navigation with mouse wheel or keys and the big image will slide up or down. You can also zoom the thumbnail and resized image can be fit into the page. […]

Categories
Javascript

JavaScript onerror() method to handle error

The JavaScript onerror method is the first thing to handle error in JavaScript. This error event is called on the window object whenever any exception occurs on the page. There are three pieces of information to identify the exact error: Error message URL, in which file the error occurred The line number in the given […]

Categories
Javascript

How to associate functions with objects using JavaScript?

In JavaScript you can associate functions with objects. Here we will demonstrate how the constructor creates the object and assigns properties. Object is a standalone entity, with properties and type in JavaScript. JavaScript objects can have properties, that define their characteristics. Objects and properties: An object in JavaScript has properties associated with this. So, a […]