Mar/100
ie6 PNG fix for CSS background images

Recently i just gone through this excellent script for png fix for ie6, even png images declared in css background.
All you have to do is add these below to lines between tags.
<!–[if ie6]>
<script type=”text/javascript” src=”orpngfix.js”></script>
<![endif]–>
Add the orpngfix.js and clear.gif files in the root folder.
Enjoy
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");
});
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





