Recently, I migrated my website from the free domain syedgakbar.co.cc to my new domain www.syedgakbar.com. Once the migration process was done, I looked into options to redirect all the new traffic point to old site to my new site without breaking the links: As I was hoping, it was just a one line change in […]
HTML & JavaScript Compatibility Hell for Programmers
If you are HTML Designer or JavaScript programmer, then you may already know the rule that it almost 50% of the development time to make what works in browser, and another 50% of the time is spent to run it smoothly in all the other popular browsers (some time it takes even more). Recently, I […]
Code Highligter for WordPress
After upgrading my WordPress Application, I thought to also search for some good code highlighter plug-in for WordPress too. Apparently, there are couple of interesting one, but after quick review, I diceded to go with the Google Code Prettify for wordpress The plug-in setup wasy nice and easy. The only thing which I didn’t like […]
JavaScript Closure in Loop
JavaScript anonymous functions are really a bliss, and they way the help you write neat, flexible and dynamic code is simply amazing. I always admire them whenever I use them. But they don’t work in loops as neatly as in some other languages where the variables are scoped to the block level (like C#). In […]
JavaScript Ignore HREF Attribute Value
On the web programming, it’s common to use the “#” as the HREF value and apply the event handler on the “click” event. But if you don’t return false in the “on click” event handler, the “#” will be appended to the URL when user click on that link and it may ugly and even […]
