Tag: jquery

jQuery-plugin: jquery.rightclick

I’ve written a plugin for jQuery to handle right click events.

The plugin provides two features:

$( … ).disableContextMenu( condition_event );

This function disables the browsers build-in contextmenu (right-click menu on PC’s).

condition_event  – is an optional parameter, it’s meant to be a function-reference to determine if the contextmenu should be shown, the function must return true if the menu… Read more »

Creating a custom dialog with jquery and jquery.blockUI

The goal of this article is to demostrate how to create a dialog with it own self-contained functionality using jQuery and blockUI.

For this we need jQuery (v1.3.x)1 and blockUI(v2.15+)2. I assume you have at least basic understanding of jQuery and JavaScript to make use… Read more »

Learning to get more out of jQuery

A quick recommendation for the people who want to learn more about using jQuery.

There is a great site called jQuery for designers, on this site you find video tutorials and articles for using jQuery. You can learn how to make great effects on your site with very little code using jQuery.

I hope you find that site… Read more »

Namespacing in JavaScript

To structure my javascript code I’ve developed a namespace scheme1. Namespace is used in languages like C++ to group functionality and data, it’s also used in Java but referred to as packages.

Coming from a C++ background with structure I wanted to impose a kind… Read more »

Reintroducing a little sanity in working with JavaScript

When I first started working with JavaScript (JS),

I came from a background working with type-safe languages like Java and C++.

Working with JavaScript wasn’t as much fun as working with C++ and Java. JavaScript has a very poor image and there are several problems with the language which can lead to very bad coding.

One of the… Read more »