image protection on web pages

0 comments
Image protection is almost an impossible task and a big headache to the web developers. Usually we disable right clicks or we use image as background to prevent being stolen.

Indian currency or rupee number format in PHP

0 comments
Convert any amount to currency format is a tough task. money_format(), which is a custom function provided by PHP,  to change any number to currency formats. First you need to define the target locale and then specify the corresponding money format, which will do the trick for you.

Display star ratings using JQuery and CSS sprite

0 comments
Radio buttons are introduced in html to get predefined answers from users. It is perfect for feedback forms, product ratings and surveys etc. Star ratings are more convenient and attractive way of grabbing users inputs.  Most  of the eCommerce sites uses the star rating technique which is more comfortable than conventional radio buttons.

Send or communicate data structures from PHP to Javascript using JSON

0 comments
Usually web servers will send html data to the browser and the rendering engine will start parsing the html code. Nowadays most of the websites work like a web application and will send or receive live data from the server. For this type of interaction, communication of data-structures are required. We all know, the difference between a PHP Array and JavaScript Array is like car is to carpet. So conversion to a common data format is required for this operation. JSON, JavaScript Object Notation, is very light weight and it is globally accepted as a data exchange format. Lets try sending a PHP array from PHP to JavaScript using JSON.

Fix common svn commit errors - locked, out of date, forbidden

0 comments
We all know SVN and we use SVN in all development streams. SVN is really helpful to track the changes, modify the versions of files and publish to the live server. Every developer can analyse and move the file changes to the server using SVN commit procedure. SVN will take care of merging the final file contents and chances of file conflicts are negligible. This is the biggest advantage of SVN.

Fly to Cart Basket animation effect using JQuery and CSS

0 comments
E-commerce sites are using ajax purchasing functionality. Have you noticed the flying to cart feature or auto dragging effect while buying any product online? ie. The product will start to move from the product display position to cart items position. You might have wondered by seeing the this animation. This effect, refereed as Fly to cart effect is created with JQuery and CSS.

Speed up your website with CSS image Sprites

0 comments
Webpages are created with tons of small icon images to show arrows, curves, separating pipes etc. About 30 to 100 HTTP requests will be sent to server while browser loads a webpage elements such as images, style sheets and scripts. Most of the requests are sent for downloading the images from the server. CSS Sprite technique can reduce the number of requests and which will increase the page loading speed.