-
-
Top News
- Sharing MTS USB internet with other computers
- Solution for Network Cable Unplugged
- NextGEN Gallery causing Page Not Found error and Duplicate content pages
- Using Binatone Router with BSNL Broadband Connection
- BSNL Broadband DNS Servers
- Some websites not working with BSNL broadband connection
- jQWizard Version 1 Released
- UPS for Wireless Router or Modem
- Admagnet Review
- PHP coding conventions
Code Archive
-
jQWizard Version 1 Released
Posted on July 27, 2011 | 1 CommentjQWizard is a jQuery plugin for creating nice looking html wizard forms. Features Light weight. Supports upto five steps. Works with IE6+, Firefox, Chrome, Safari, Opera and all other browsers... -
PHP coding conventions
Posted on May 24, 2011 | No Comments1. Use small letters to name files.eg: reviews.php 2. Use hyphen (-) to separate filenames with mutiple words. eg: user-reviews.php -
CSS coding conventions
Posted on May 24, 2011 | No CommentsCSS Naming Conventions Basic Rules 1. Use small letters to name classes and id’s . eg: #footer, .round 2. a. Use hyphen (-) to separate mutiple words. eg: #main-container, .round-box,... -
Limiting characters in input textbox in HTML
Posted on October 4, 2010 | No CommentsAdd maxlength attribute to the <input> tag eg: <input type=”text” maxlength=”4″ /> The above textbox can have only 4 characters. Please note that the maxlength attribute is not supported for... -
Adding Expires Header using Htaccess
Posted on September 27, 2010 | No CommentsAdd the following lines to the .htaccess file <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|bmp|js|css|swf)$"> Header set Expires "Thu, 14 Apr 2016 20:00:00 GMT" </FilesMatch> To check whether this is working, use Google PageSpeed or... -
Enable Gzip Compression using Htaccess
Posted on September 27, 2010 | No CommentsAdd these lines to the .htaccess file. AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE... -
xsl Template to split strings
Posted on September 22, 2010 | No CommentsAn xsl template for splitting strings. Template: <xsl:template name="StrSplit"> <xsl:param name="str" /> <xsl:param name="separator" /> <xsl:choose> <xsl:when test="contains($str, $separator)"> <xsl:call-template name="StrSplit"> <xsl:with-param... -
Smooth scrolling of name tags (anchor) in HTML using jQuery
Posted on August 18, 2009 | No CommentsSmooth scrolling of name tags (anchor, <a>) in HTML using jQuery Got this from some blog.� I don’t remember the link. $(function(){ $('a[href*=#]').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname... -
ThickBox IE7 positioning bug fix
Posted on December 12, 2008 | 2 CommentsThe fix is posted in http://wordpress.org/support/topic/170320?replies=12#post-741557. I am just copying it for easy reference. Look in thickbox/thickbox.css Around line 50, change all the below #TB_window { position: fixed; background: #ffffff;... -
Simple Fixed Width Rounded Box with CSS
Posted on November 10, 2008 | 1 CommentHere is a simple fixed width css rounded box. Download Live Example Sample Rounded Box The Rounded Box will look like this. This rounded box uses two background images, one...

