21
Dec/090
Dec/090
Toggle effect for fade – with jQuery

Write the below function first:
jQuery.fn.fadeToggle = function(speed, easing, callback) {
return this.animate({opacity: 'toggle'}, speed, easing, callback);
};
After that you can do as usual like:
$(".main").click(function () {
$(".child").fadeToggle("slow");
});
17
Dec/090
Dec/090
Trim .php extension using .htaccess
Trim your .php extension in your web application using .htaccess
RewriteEngine on
RewriteRule ^$ index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)/$ $1/index.php
RewriteRule ^([a-zA-Z0-9\-\_/]*)$ $1.php
16
Dec/090
Dec/090
Remove borders on links in Firefox
How to remove dotted border in firefox?
After the long search process i found the solution for this.
It’s very simple add these below style in your css.
a:focus { outline: none; }




