vào index_box tìm:
- Code:
-
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}"
src="{catrow.forumrow.FORUM_FOLDER_IMG}"
alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}"/>
sửa lại thành:
- Code:
-
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}"
src="{catrow.forumrow.FORUM_FOLDER_IMG}"
alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}"
value="{catrow.forumrow.FORUM_NAME}" />
Tiếp tục tìm
- Code:
-
<!-- BEGIN catrow -->
chèn ngay bên dưới nó đoạn script này
- Code:
-
<script type="text/javascript">
$("[value='Tên box cần thay icon']").replaceWith('<img src="link ảnh thay thế">');
</script>
với mỗi box dc thay ta cần sử dụng thêm 1 đoạn
$("[value='Tên box cần thay icon']").replaceWith('
');
Lưu ý : kích thước icon thay thế phải bằng kích thước của icon mặc định
DEMO: