template_mallgoodslist.js
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:1k
源码类别:
SCSI/ASPI
开发平台:
Others
- function loadcategory(aspxrewrite) {
- var subcategories = $("categories");
- for(var i in cats) {
- li = document.createElement('li');
- li.id = cats[i].id;
- if(aspxrewrite==1) {
- li.innerHTML = '<a href="showgoodslist-' + cats[i].id + '.aspx">' + cats[i].name + '</a><em>(' +cats[i].gcount + ')</em>';
- }
- else {
- li.innerHTML = '<a href="showgoodslist.aspx?categoryid=' + cats[i].id + '">' + cats[i].name + '</a><em>(' +cats[i].gcount + ')</em>';
- }
- subcategories.appendChild(li);
- }
- }