Revision: 26866
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 13, 2010 11:02 by cs2css3
Initial Code
$(function(){
$("#contents a[href^='mailto']").after("<span class='iconmail'> </span>");
$("#contents a[href$='pdf']").after("<span class='iconpdf'> </span>").click(function(){window.open(this.href, '_blank');return false;});
$("#contents a[href$='xls']").after("<span class='iconxls'> </span>").click(function(){window.open(this.href, '_blank');return false;});
$("#contents a[href$='doc']").after("<span class='icondoc'> </span>").click(function(){window.open(this.href, '_blank');return false;});
$("#contents a[href^=http://]").not("#contents a[href^=thisPage], #contents a[href$='pdf'], #contents a[href$='xls'], #contents a[href$='doc']").after("<span class='extlink'> </span>").click(function(){
window.open(this.href, '_blank');return false;
});
});
Initial URL
Initial Description
Initial Title
cs2css3's extention
Initial Tags
javascript, jquery
Initial Language
jQuery