<stl:dynamic> 自己定义的onSuccess的js脚本怎样调用,为何一直显示无效函数
ceshi.html:746 Uncaught ReferenceError: onLodding is not defined at ceshi.html:746
代码: <stl:dynamic channelIndex="B" onSuccess="onLodding()"> </stl:dynamic>
还是说要自己写完那个动态加载的脚本? js
还是说要自己写完那个动态加载的脚本? js
<stl:contents channelIndex="Example" columns="3" isImage="true" width="90%" border="0" cellpadding="2">
<stl:content type="ImageUrl"></stl:content>
<stl:a><stl:content type="Title"></stl:content></stl:a>
</stl:contents>
以上标签调取出来的新闻是需要通过后台生成,才能出现,不生成不出现。
但是外面加个一个动态标签isDynamic 就可以实时显示,不需要生成了。标签调用方式如下两种。
<stl:contents isDynamic="true">
<stl:a></stl:a>
</stl:contents>
<stl:dynamic>
<stl:channel type="title"></stl:channel>
<stl:contents>
<stl:a></stl:a>
</stl:contents>
</stl:dynamic>
<stl:contents channelIndex="Example" columns="3" isImage="true" width="90%" border="0" cellpadding="2"> <stl:content type="ImageUrl"></stl:content> <stl:a><stl:content type="Title"></stl:content></stl:a> </stl:contents>上面的标签调取来的新闻是需要通过后台生成,才能出现,不生成不出现。 但是外面加个一个动态标签是动态的就可以实时显示,不需要生成了。标签称为方式如下两种。<stl:contents isDynamic="true"> <stl:a></stl:a> </stl:contents><stl:dynamic> <stl:channel type="title"></stl:channel> <stl:contents> <stl:a></stl:a> </stl:contents> </stl:dynamic>谢谢
谢谢
------------------ 原始邮件 ------------------ 发件人: "jiangbin4586"<[email protected]>; 发送时间: 2019年12月16日(星期一) 下午5:10 收件人: "siteserver/cms"<[email protected]>; 抄送: "宇"<[email protected]>;"State change"<[email protected]>; 主题: Re: [siteserver/cms] <stl:dynamic> 自己定义的onSuccess的js脚本怎样调用,为何一直显示无效函数 (#2254)
<stl:contents channelIndex="Example" columns="3" isImage="true" width="90%" border="0" cellpadding="2"> <stl:content type="ImageUrl"></stl:content> <stl:a><stl:content type="Title"></stl:content></stl:a> </stl:contents> 以上标签调取出来的新闻是需要通过后台生成,才能出现,不生成不出现。 但是外面加个一个动态标签isDynamic 就可以实时显示,不需要生成了。标签调用方式如下两种。 <stl:contents isDynamic="true"> <stl:a></stl:a> </stl:contents> <stl:dynamic> <stl:channel type="title"></stl:channel> <stl:contents> <stl:a></stl:a> </stl:contents> </stl:dynamic>
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.