The well-appreciated and possibly most-remembered “secret” code of all time, The Konami Code, a cheat code that originated on the original NES and has since made its way into many other games. up, up, down, down, left, right, left, right, B, A But it is not only limited to games anymore! You can include this on your own website to make an awesome impression on the viewers. You can see a working example (and subsequently many more) on http://www.konamicodesites.com . This site also lists many more websites which use this code. Go to the website and use the key code mentioned above to get in. The code to include konami is very simple. Let us say I want to redirect the website to go4expert when the code is entered on any web page. All I have to do is include the following JavaScript code. Code: <script type="text/javascript"> if ( window.addEventListener ) { var state = 0, konami = [38,38,40,40,37,39,37,39,66,65]; window.addEventListener("keydown", function(e) { if ( e.keyCode == konami[state] ) state++; else state = 0; if ( state == 10 ) window.location = "http://www.go4expert.com"; //you can write your own code here }, true); } </script> Hopefully, the code is very simple to understand. Place this in your HTML file and you are good to go! Check Out Working Sample
If you liked this article do nominate this article for Article of the month - Sep 2010 Before 15th of October 2010.
Google’s New WebP Image Standard Is All About SEO One of the most important aspects of on-page SEO (Search Engine Optimization) these days is site speed (on-page SEO consists of the factors you change/implement on your Web site itself, such as changing title tags, posting content, etc.). In other words, how fast does your Web site load when someone visits it? Is it image-intensive? If so, do you extend the courtesy of letting your visitors click on a thumbnail to load a full image instead of you loading it for them? Even if you think you’re doing them a favor by resizing an image via HTML or CSS, if the full-sized image is what loads, you’re not giving your visitors the most optimal browsing experience. With that said, there have been a number of case studies that aim to show just how important Google considers your site’s load speed to be. It’s definitely a metric Google considers in regards to how they rank you in the SERPs (Search Engine Results Pages), but it’s not clear just how much weight they give to this metric specifically. Well, now Google has pretty much spelled it out under no uncertain terms that they absolutely care about how fast your site loads. This means that you should, too.
i my self vipin kumar srivastav,new on this forum wanna know about web development. thanks fro information ------------------------- 10