Posted By

r2cgroup on 02/10/11


Tagged

active r2c


Versions (?)

R2C TextMate Bundle - Active JSP for LI


 / Published in: Java
 

  1. //This snippet is custom made for use in a TextMate Bundle.
  2. //To appropriately use it, create a TextMate Bundle out of it.
  3. //After that you can assign it it's own shortcuts / key equivalents.
  4.  
  5. <li><a href="${1}.jsp" title="${2}"<% if (r2c_page == "${1}") { %> class="active"<% } %>>${2}</a></li>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: r2cgroup on February 10, 2011

Matthew's local shortcut for this is: liactive

Posted By: r2cgroup on February 10, 2011

Matthew's local shortcut for this is: lia

You need to login to post a comment.