| conf.openapi + "/documents/" + docid, | conf.openapi + "/documents/" + docid, | ||||
| function(doc) { | function(doc) { | ||||
| for(var i=0; i<doc.pageId.length; i++) { | for(var i=0; i<doc.pageId.length; i++) { | ||||
| var item = '<div><img src="" /></div>'; | |||||
| $(item).find('img').attr('src', conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=100"); | |||||
| $('.autodoc_document_carousel').append(item); | |||||
| $('.autodoc_document_carousel').append('<div><img /></div>'); | |||||
| $('.autodoc_document_carousel').children().last().children().attr('src', | |||||
| conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=100"); | |||||
| } | } | ||||
| } | } | ||||
| ) | ) |