Thursday, 30 June 2011

Alert em

Here i am going to show you how to make same alert box using different JavaScript code.

This is not a big trick but a simple basic of JavaScript that you should know.

For that you have to write alphabets of massage in reverse order.

Just use this code :

javascript:function flood(n) {if (self.moveBy) {for (i = 15; i > 0;i--){for (j = n; j > 0; j--){self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }}flood(6);{ var inp = "tpircsavaj ynnuf ot emoclew"; var outp = ""; for (i = 0; i <= inp.length; i++) {outp =inp.charAt (i) + outp ; } alert(outp) ;}; reverse



Post a Comment

Please do not spam

Related Posts Plugin for WordPress, Blogger...