Posted By

kormie on 10/06/10


Tagged

css textmate print jquery usability


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bobbym245


Insert Link Path After URL


 / Published in: jQuery
 

  1. $('a').each(function()
  2. {
  3. $(this).after(function()
  4. {
  5. var a = $(this).attr('href');
  6. var na = ' <span class="linkAfter">[' + a + ']</span> ';
  7. return na;
  8. });
  9. });
  10. $('.linkAfter').css({
  11. 'font-size': '90%',
  12. 'font-weight': 'normal',
  13. 'text-decoration': 'none'
  14. });

Report this snippet  

You need to login to post a comment.