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

Responsive modal or popup are common features in a web application. They are used to show extra information or a form on the same page as popup above existing content upon clicking to a link or button. This article will help you to create a responsive modal or popup with CSS only.

I have also explained this pure CSS concept along with. So that you can understand how does this thing work. It will help you to change the CSS rule to organize responsive modal in your own way.

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

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 was developing a website. In that, I wanted to use multiple instances of flexslider on a single page. There was not the problem if ID of the container tags is different. But on my website, everything was dynamic, even how many flexslider instances were be called, that was also unknown

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

[ Page 7 of 13 ]