/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//This snippet is custom made for use in a TextMate Bundle. //To appropriately use it, create a TextMate Bundle out of it. //After that you can assign it it's own shortcuts / key equivalents. <?php if (\$r2c_page == "${1}") { ?> class="active"<?php } ?>