wordpress_add

Tuesday 29 October 2013

Convert image into gradient color..!!! Dr-wordpress

Here is the URL of website which convert image into gradient color and gave code to user to use it on any website etc... Dr-wordpress
Wordpress Solutions Steps :

http://gradientfinder.com/

Uplaod your image 
And than it will auto generate the code of that image 


Subscribe Dr-Wordpress for Important Knowledge of wordpress..your's suggestions are most welcomed.



Monday 14 October 2013

One Line Code for Hiding "Search here" in any Text Feild..!!!

Dr-wordpress: Put this code in input tag and call the method of onBlur..


onblur="if(this.value.length == 0) this.value='Search';" onclick="if(this.value == 'Search') this.value='';"


Subscribe Dr-Wordpress for Important Knowledge of wordpress..your's suggestions are most welcomed.

Friday 11 October 2013

Easy Method to Check browser In PHP...!!!

Here is the code to check the browser Either it is internet explorer or some other browser. 


<?php

$user_agent = $_SERVER['HTTP_USER_AGENT']; 

if (preg_match('/MSIE/i', $user_agent)) { 
   echo "Internet Explorer";   // HERE you can set any condition which you only execute in IE case
} else {
   echo "Non-IE Browser";


?>


Subscribe Dr-Wordpress for Important Knowledge of word press..your's suggestions are most welcomed.

Friday 4 October 2013

Social Icon In PHP (sharing and like buttons)

Here is the link where you got the code of sharing buttons


http://www.like-button.net/

http://www.sharethis.com/

http://www.addthis.com/


http://zocialbar.com/

************************************************************************



Subscribe Dr-Wordpress for Important Knowledge of word press..your's suggestions are most welcomed.

Wednesday 2 October 2013

IE hack ( Internet explorer HAck)

This is the Hack for internet explorer 
these lines are only executed when we use internet explorer



  • IE8 or below: to write CSS rules specificially to IE8 or below, add a backslash and 9 (\9) at the end before the semicolon.
  • IE7 or below: add an asterisk (*) before the CSS property.
  • IE6: add an underscore (_) before the property.

body {  
 color: red; /* all browsers, of course */  
 color : green\9;    /* IE8 and below */  
 *color : yellow;   /* IE7 and below */  
 _color : orange;   /* IE6 */  
}

#div { height: 300px\9; }


Subscribe Dr-Wordpress for Important Knowledge of wordpress..your's suggestions are most welcomed.