抱歉,此后我一直在从事其他工作,我再次测试了我的代码,对其进行了修改,但它仍然无法正常工作。根据我的计算,无法更改第一张图片。这是我修改的代码:
lib.headerimage = COA
lib.headerimage {
10 = LOAD_REGISTER
10 {
divSem.cObject = TEXT
divSem.cObject {
data = date:U
strftime = %U
current = 1
setCurrent.data = date:U
setCurrent.wrap = |/8
prioriCalc = 1
}
}
20 = FILES
20 {
references {
data = levelmedia: -1, slide
}
renderObj = IMAGE
renderObj {
begin.cObject = TEXT
data = register:divSem
begin = register:divSem
begin.insertData = 1
file.import.listNum = 0
# file.import.dataWrap = {file:current:storage}:{file:current:identifier}
# file.import.listNum.stdWrap.dataWrap = register:divSem
altText.data = file:current:title
# Affiche bien la valeur de : divSem
stdWrap.insertData = 1
stdWrap.wrap = <div class="thumbnail {register:divSem}" >|</div>
}
insertData = 1
maxItems = 1
}
30 = TEXT
30 {
# OK !
stdWrap.insertData = 1
stdWrap.wrap = <div class="{register:divSem}">|</div>
}
40 = RESTORE_REGISTER
}
感谢您在这个问题上为我提供了一些指导。 最好的祝福, 布鲁诺