jQuery(function($){ $('img').each(function() { fm_img_path = 'modules/litefm/action-images/'; if ($(this).attr('src') == fm_img_path + 'remove.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'rename.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'move.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'copy.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'compress.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'uncompress.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'create_file.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'create_folder.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'upload.gif') { $(this).replaceWith(''); }else if ($(this).attr('src') == fm_img_path + 'send_by_email.gif') { $(this).replaceWith(''); } }); $('[href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('default-btn'); //gives button look });