禁用间质性图形CFDIV使用绑定时 [英] Disabling interstitial graphic when using cfdiv binding
问题描述
有没有办法让载入中...从图形CFDIV刷新的时候出现?我想$加载图形然后加载新的HTML的对$ pvent闪烁。
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,似乎prevent中都闪烁效果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屋!