SharePoint with jQuery Help Needed
The following jQuery works great in SharePoint 2007 with a Content Editor Web Part. It makes the icons bigger on one site as they use the document library on touch screens on a factory floor. After upgrading to 2010, the folder icon still works, the PDF icon does not. The files are in place. I can go to the path manually and bring up the icon image. Not sure what changed to stop it from working.
<script src="/usm/Dandridge/Application%20Files/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("td.ms-vb-icon a img[src*='folder']").each(function(){
$(this).attr("src", "/_layouts/images/fldrnew.gif"); //set this value to the bigger folder icon
});
$("td.ms-vb-icon a img[src*='pdf']").each(function(){
$(this).attr("src", "/_layouts/images/pdf-big.png"); //set this value to the bigger PDF icon
});
});</script>