XF 1.3 How to Display page load image during page load?

Mian Shahid

Well-known member
Hi, we are running flash games on our board, some games like Agnry Bird :) are too large which taking time to load, during loading of game, the page looking white and some members thinking that their is nothing happening at the movement, so we are thinking that, during game loading we can display loading image like
ajaxload.info_FFFFFF_facebook.gif
or something like

loading7.gif

I have a script
Code:
/***Combo Menu Load Ajax snippet**/
<script type="text/javascript">
function ajaxcombo(selectobjID, loadarea){
    var selectobj=document.getElementById? document.getElementById(selectobjID) : "";
    if (selectobj!="" && selectobj.options[selectobj.selectedIndex].value!=""){
        document.getElementById(loadarea).innerHTML = '<img src="images/icons/loading7.gif" style="margin: 0 auto; display: block; width: 32px; height: 32px;" alt="Loading" title="">';
        ajaxpage(selectobj.options[selectobj.selectedIndex].value, loadarea);
    }
}
</script>

but didn't work if i put it in EXTRA.css
i think this not suitable for my requirements.

any idea?
 
Top Bottom