Newton Color Disc in jQuery

Newton Color Disc is used to find the color got by the combination of multiple colors. The color is not actually formed, but the eye identifies the combination as another color due to persistence of vision. Normally, Newton’s Color disk is made by marking sectors filled with color on a circular shaped disc. When this disc is rotated at high speed, we see the circle as another color. This principle…

Create HTML Chess Game With jQuery

We all love to play Chess, the most fascinating game that absolutely needs good thinking powers. You know that, comparing a human to a computer logically and arithmetically, computer has the superior power. So, certainly if you play a chess game with computer as opponent, a 90% chance is for the computer to be the winner. But, it is not sure. It was actually in C language by Oscar Toledo…

StatCounter Popular Posts Plugin For WordPress

StatCounter doesn’t really have a Popular Posts plugin for WordPress. Though many WordPress blog uses SC, it doesn’t have a widget that shows the Popular Posts. I uses it and wanted to have this feature. So, I created a plugin called StatCounter Popular Posts written in short ad SPP. It’s a plugin that adds a widget to WordPress which can be added to the WordPress Site layout (sidebar, footer, header…

Posting Code Blocks On WordPress

If you’re a web developer or a programmer and have a programming blog set up in WordPress, you will find it difficult to include codes in the posts. There is no tool in the Visual Editor toolbar menu to automatically wrap a piece of code into a code block. So you have to manually go to the Text version of the post and add the code in HTML <pre> or …

Make Better WordPress Minify Work On OpenShift

If you run a WordPress blog on OpenShift, you might not be able to run the Minify plugins. These plugins won’t work if your OpenShift app is directly installed from the WordPress catridge they provide. This happens because the plugins, themes and other directories of wp-content are linked directories which means they’re fake. The folders are just shortcuts of the original folder situated in app-root/data. This makes the minify plugin…

Add @mentions To Input Fields – jQuery sMention Plugin

Mentioning persons using @ is pretty common on social web sites. Facebook, Google+ and even StackOverflow have the @mention feature. They developed it on their own and doesn’t share the code with others. If you are developing a social site, then it’s better to have this mention feature. I wanted this, but the jQuery plugins I found was too big. The first plugin I found was 20 KB ! This…