Return to Snippet

Revision: 36093
at November 18, 2010 01:35 by johncionci


Initial Code
<!--[if IE 6 ]> 	<body class="<?php print $body_classes; ?> <?php if($front_page) { print "iesix front-iesix"; } else { print "iesix"; } ;?>"> 		<![endif]-->
<!--[if IE 7 ]>    	<body class="<?php print $body_classes; ?> <?php if($front_page) { print "ieseven front-ieseven"; } else { print "ieseven"; } ;?>"> 	<![endif]-->
<!--[if IE 8 ]>		<body class="<?php print $body_classes; ?> <?php if($front_page) { print "ieeight front-ieeight"; } else { print "ieeight"; } ;?>"> <![endif]-->
<!--[if IE 9 ]>    	<body class="<?php print $body_classes; ?> <?php if($front_page) { print "ienine front-ienine"; } else { print "ienine"; } ;?>"> 	<![endif]-->
<!--[if !IE]>--> 	<body class="<?php print $body_classes; ?>">    		<!--<![endif]-->

Initial URL

                                

Initial Description

                                

Initial Title
Drupal Body Classes - Based on Paul Irish Script

Initial Tags
php, drupal

Initial Language
PHP