Return to Snippet

Revision: 33098
at October 6, 2010 04:37 by kormie


Updated Code
$('a').each(function()
{
  $(this).after(function()
  {
    var a = $(this).attr('href');
    var na = ' <span class="linkAfter">[' + a + ']</span> ';
    return na;
  });
});
$('.linkAfter').css({
  'font-size': '90%',
  'font-weight': 'normal',
  'text-decoration': 'none'
});

Revision: 33097
at October 6, 2010 03:42 by kormie


Initial Code
$('a').each(function()
{
  $(this).after(function()
  {
    var a = $(this).attr('href');
    var na = ' <span class="linkAfter">[' + a + ']</span> ';
    return na;
  });
});
$('.linkAfter').css({
  'font-size': '90%',
  'font-weight': 'normal',
  'text-decoration': 'none'
});

Initial URL

                                

Initial Description

                                

Initial Title
Insert Link Path After URL

Initial Tags
css, textmate, jquery

Initial Language
jQuery