Vào index_box tìm :
Sửa lại thành :
Tiếp tục tìm :
Chèn sau nó :
Muốn thêm box :
Demo :
- 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 sau nó :
- Code:
<script type="text/javascript">
$("[value='Tên box cần thay icon']").replaceWith('<img src="link ảnh thay thế">');
</script>
Muốn thêm box :
- Code:
$("[value='Tên box cần thay icon']").replaceWith('<img src="link ảnh thay thế">');
Demo :
- Spoiler: