Tuesday, November 30, 2010

Handling Keyboard Events in Javascript

Posted by on Tuesday, November 30, 2010
Guys if u have seen the moving of pictures on pressing a key in FB , FLICKR etc. Can also be done by you all now.
The code for Handling the keyboard button press etc is shown below

Sunday, November 28, 2010

Roll Overs in HTML

Posted by on Sunday, November 28, 2010
Below is a code which helps u create a roll over. for that u need to have a folder (in which the images will be there).


Roll overs are like slide show of images (or anything u want), in which u press a button and the image gets changed. The code below will help u make a roll over just like that u have in Facebook. so now if u want u can shoe others that u have a roll over made by you and which is same as FB.

Tuesday, November 23, 2010

Javascript Smarter Links

Posted by on Tuesday, November 23, 2010
Here is a piece of code which when you use will make your link in the website SMARTER.


This piece of code i used it during my internship and it was well appreciated by the company as it made the user know that the content that they are trying to visit is out of their domain.

© 2010 Code 2 Learn