Log in
25
October

Self-Executing JavaScript functions

Written by Adnan Rashid. No comments Posted in: Development
Tagged with

This post explains self-executing functions and its benefits. So lets started by breaking down a normal function and converting it into one …
var myVar = “This is a normal function…”;
function ShowAlert(textToAlert)
{
alert(textToAlert);
}

ShowAlert(myVar);
We all know that functions are also objects in JavaScript. Thus they can be evaluated using the eval() function and also in the case of setInterval() function [...]

09
October

Open Chrome in Incognito mode

Written by Adnan Rashid. No comments Posted in: General
Tagged with ,

Google Chrome has many great features including an Incognito mode. You can open an incognito window by pressing ctrl+shift+N in your normal browser. You can see the Spy guy on the top left corner.

You can also open the Incognito mode directly, by modifying the Target property. Right click on the Chrome executable/Shortcut and append -incognito [...]

05
October

jQuery Visual Cheat Sheet

Written by Adnan Rashid. No comments Posted in: Design, Development
Tagged with ,

Woork author Antonia Lupetti has recently released a visual cheat sheet for jQuery 1.3. The cheat sheet having six pages is a helpful reference containing the complete API reference with descriptions and sample code.
What  I like most about this cheat sheet, is it’s simple and elegant design. Kudos to Antonia!

Demo

03
October

Mahatma Gandhi on Google

Written by Adnan Rashid. No comments Posted in: General
Tagged with

October 2 marks the 140th birth anniversary of Mahatma Gandhi. Considered as the father of the Indian Nation, he will always be remembered for his great simplicity. Google is celebrating this event with a new doodle on their homepage.