Create 3D button with Pure CSS3

CSS3 becomes more and more popular now these days, It’s great combination with HTML5 helps to create incredible designs. But when we talking about the cross browser compatibility then the IE8 and below versions of IE is really a big challenge for designers. Well my this article is about to create effective and impressive 3D button with CSS3.

You don’t need to use any photo-shop or image editor software to create a 3D button for latest browsers. Because CSS3 has the ability to create the web graphics or web stuff like 3D buttons, animations, gradients effect etc. With the use of :active selector you can also animate the 3D button.

Read More

URL Rewriting, SEO friendly URL with htaccess mod_rewrite

Most of the peoples know that why do we using .htaccess file and what is the importance of this .htaccess file for your website, Here in this post you get know about the importance on .htaccess file for your website and some helpful .htaccess tips for your website.

So why we use .htaccess file?

If we are looking to the SEO(Search Engine Optimization) side for your website then .htaccess file is one of the most important factor for your website, lets take an example of URL Rewriting. Why do we need the URL Rewriting for our website? It’s simple; If you noticed the google search results, take a look on the image.

Read More

Convert CHARACTER SET in mysql

To convert the database into different character set is easy with a single line command, if you want to convert only the database character set just follow the command:

ALTER DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

 
Read More

Simple and attractive javascript plotting chart

if we talking about the data representation, like the total sale or total visits on day-by-day etc. then it’s a great idea to showing the data into the plotting chart. When I have this idea to represent the data in the plotting chart then I got a JavaScript plug-in on flotcharts.org, one to the simplest and attractive javascript plotting chart plug-in. Below you get that how to start with this plugin in the simplest way, which means just the starting of the plotting chart plug-in.

First, make your document ready like usually, we are doing before running any jquery stuff. After that just call the plotting chart plugin’s function ‘$.plot()’ and start to input the data that you want to display on your chart. First, you have to mention, in which element you want to show your chart. As you see in the HTML section, I have created a div with the class name ‘graph’. And in the jquery section just call the call or whatever you element you want.

Read More

Random password generator with php

In this post we are just creating a PHP function that provide us a random password string. This Password string is the combination of small and capital alphabets and digits, that help us to generate random password string. To generate the random password we are using here `mt_rand()` a PHP function. We can also use `rand()`, because both the functions provide the random strings but `mt_rand()` providing four time better random string then `rand()` function.

Read More

Get element on event with jquery

What If we apply an event on multiple element? Yes in this post we are talking about to get the element on particular event. Let’s say we have more then one element and on these elements we want the click event. But now how do we detect the clicked element. In the given example, i just talking two input fields, with different name and id. And apply the click event on both elements.

Here is the HTML Example:

Read More