使用cfdiv绑定时禁用插页式图形 [英] Disabling interstitial graphic when using cfdiv binding
问题描述
有没有办法保持加载...图形出现时cfdiv刷新?我想防止加载图形的闪烁,然后加载新的html。
Is there a way to keep the "Loading..." graphic from appearing when cfdiv refreshes? I'd like to prevent the flicker of loading the graphic then loading the new html.
推荐答案
通过在底部添加这些行的头部,它覆盖加载...html,似乎防止在IE和FireFox中的闪烁效果:
By adding these lines at the bottom of the header, it overwrites the "Loading..." html and seems to prevent the flickering effect in both IE and FireFox:
<script language="JavaScript">
_cf_loadingtexthtml="";
</script>
虽然这似乎做的伎俩,如果有一个官方支持的方式,在每页或每个控件基础上加载动画。希望他们在ColdFusion9中添加支持。
While this seems to do the trick, it would be nice if there was an officially supported way to customize the loading animation on a per page or per control basis. Hopefully they add support for that in ColdFusion9.
这篇关于使用cfdiv绑定时禁用插页式图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!