JS实现轮播暂停播放-https://help.fanruan.com/finereport/doc-view-2351.html?source=1
function time() {
timer = contentPane.getWidgetByName.setTimeout(function() {
window.location.href = FR.cjkEncode("${contextPath}/decision/view/form?viewlet=doc/JS/表单JS实例/01-JS实现暂停和继续轮播frm报表2.frm"); //要轮播的报表url
}, 2000); //轮播间隔
}
time();
setTimeout(function() {
//这里的控件名要全用大写
$("[widgetname=REPORT0]").mouseover(function() {
clearInterval(timer);
})
$("[widgetname=REPORT0]").mouseleave(function() {
time();