Check Facebook User Permissions (PHP)

I assume you are using Facebook PHP SDK in your project, if you need to check multiple permissions granted by the user using PHP, try following method. We will break string into an array, and then check for the permissions already granted by the user.

Confirmation dialog on leaving page (Javascript)

If you want to show confirmation dialog before user leaves or reloads the page, you can use Javascript onbeforeunload() event attribute. When unload event fires, it shows a prompt asking whether user wants to leave or reload the page. Most browsers will return the event string, but in some browsers such as Firefox it may not be displayed.

Cloud Computing and Future of Ecommerce

Cloud computing, I hope most of you would have been familiar with this term today. It is the latest sensation to join the hit lists in the market. For those who are completely new to this term, here goes the definition: it is a virtual network of servers acting remotely on the internet which allows you to store, manage, and process data effectively.

Scrolling Table of Contents with Jquery and CSS3

If you have very long pages like Wikipedia, you might want to organize your paragraphs with some sort of stylish scrolling Table of Contents (TOC). In this article we will create a nice little Table of Contents with bit of jQuery and CSS3. Div element stays fixed on the left or right side of the page for easy navigation of the page, it can be expended and collapsed easily by a reader.