有没有办法让载入中...从图形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.