I was using jQuery UI range slider and it was working on desktop very well but my website was responsive and working very well on touche devices. But jQuery UI sliders on touch devices appear to be incompatible when viewed on Ipad and Iphone. So I googled on this issue and found a solution which am explaining here

Read More

In website, speed up page rendering is very important factor. Because if our page speed is fast then visitors can visit more pages on our site and can take a glance easily. We have to make our web pages fast but it’s not too easy to optimize web pages at each and every scale.

Read More

Setting up foreign key in phpMyAdmin is quite easy. With help of this step by step pictured tutorial, you will be able to set foreign keys within your tables.
Here in the example we have three tables. ‘products’, ‘category’ and ‘product_category’. You can see structures of these tables in the picture below:

Read More

I had popup working and I wanted to open popup from another popup where a link was placed inside first popup using jQuery. This kind of scenario is quite common.

Most probable example we see are login and register popup boxes where one can toggle to login/register popup box through a link given in currently opened popup.

Read More

I have few sites of clients running with Codeigniter and are hosted by different hosts including Godaddy, Host Gator and others. With few hosts I had problems with working of CI, whenever I tried to access the website, I just used to get a text in browser saying ‘No input file specified’ and no html as expected except this text.

Read More

Are you facing any notice saying Undefined property: Home::$db or something like this in your Codeigniter application? The reason behind the error Undefined property $db in Codeigniter arises because you didn’t load database library in your controller/method to use any function of it.

Read More

Colorbox is a jQuery plugin, Nowadays jquery colorbox plugin is mostly used for displaying content in popup window. But there are still somethings where we stuck. Closing colorbox is one of them.

Read More

Yii 2.0 framework has a major improvement over version 1.1. Creating SEO friendly URL in Yii 2.0 framework has been a lot easier. All is just turning pretty url ‘on’ to your Yii application and writing very few rewrite rules in htaccess file, enough to hide index.php from your URL and to make them SEO friendly.

Read More

Below is the code snippet to change HTML5 placeholder color with CSS which are used in form input and textarea fields. The explanation and uses notes are further explained.

/* WebKit browsers */
::-webkit-input-placeholder { 
    color: blue;
}

/* Mozilla Firefox 4 to 18 */
:-moz-placeholder { 
   color: blue;
   opacity: 1;
}

/* Mozilla Firefox 19+ */
::-moz-placeholder { 
   color: blue;
   opacity: 1;
}

/* Internet Explorer 10+ */
:-ms-input-placeholder { 
   color: blue;
}

Read More

[ Page 6 of 12 ]