|
|
|
|
|
|
|
|
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 /></div>'; |
|
|
|
|
|
|
|
|
var item = '<div><img src="" /></div>'; |
|
|
$(item).find('img').attr('src', conf.openapi + "/pages/" + doc.pageId[i] + "/images?maxWidth=100"); |
|
|
$(item).find('img').attr('src', conf.openapi + "/pages/" + doc.pageId[i] + "/images?maxWidth=100"); |
|
|
$('.autodoc_document_carousel').append(item); |
|
|
$('.autodoc_document_carousel').append(item); |
|
|
} |
|
|
} |