Welcome to CoderCom.net

This is not only a blogging website but also a place for experience sharing. I thought to put my code plus my experience related to various technologies and frameworks as well as sharing the things I found useful during my day to day search for myself and for those who want to take benefit out of it.
It will really make me happy if someone somehow could take benefit from this website.

How to rename db table?

This is very simple to rename an sql table. just use the following command:

RENAME TABLE tablename TO tablename_renamed

Automatically Detect Broswer Language

I got following javascript code in some discussion forum. The person who asked question showed his satisfaction on this answers. Therefore, i am going to add it in my blog for future use and of course for you too. Although, i have not tested it myself yet, i keep it as a useful help. Read more »

SEO For images

 

This is quite simple to optimize your website images for search engines like google, bing, yahoo etc. As Search engines cannot read images but they can read text. So, by doing the following things, you can make SEO of your images.
In the HTML file do the following things:
Read more »

Do you really want to leave this site? – javascript warning alert

Javascript is something really great. It indeed gives life to your website through increasing user experience and involvement. Here i am going to share a javascript snippet of code, which gives an alert when user goes out of your website.

Below is the code with required explanation: Read more »

Learn which Operating System is Browsing Your Website

For some reasons, if you want to know, on which Operating System (Platform) your website is running. You can learn it quite conveniently using javascript. You can further manage it as per your requirments. The code and its explanation is as follows:

Read more »

Javascript is Disabled-Intimation Message

Even today, there are browsers which does not support javascript. Another scenario could be that someone intentionally has disabled javascript.

Due to disabling javascript in the web browser your webpage may not work properly. To avoid such a situation, there is a good way to put a message intimating that javascript is disabled.

To print java intimation message, there is a simple built in javascript tag, which is

Read more »

Making Youtube Video Transparent

We use to add youtube videos in our website(s) using embedded code. Sometimes, it happens that the video comes above some other content e.g. if you are using a lightbox to popup some of the contents of your page. The youtube video appears on the lightbox. As it is said, a picture worths thousand words, so a pictorial depiction is given below:

Read more »

jQuery preload image

Following is the jQuery code for jQuery Preload image / jQuery Load images before web page loads. Its is quite simple and useful code that i got from some coding forum. Read more »

Magento check if current page is the Homepage

There is actually no specific function in magento to check if current page is the home page. Although following code will help you detect the status of current page. Read more »

Download Live Website Database Using PHP Script

Today one of our respected client asked to develop a wordpress theme for his already developed wordpress website. But due to some reasons he was not able to provide control panel or even database details.

Though developing a wordpress theme does not require database yet, the developed site was quite bulky. Therefore, i needed to download the site for integration at local machine, so that, everything could go just fine. Read more »

Welcome to my blog!
close