function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lakshman.mattilakshman.matti 

Process/load image on pageload

Hi Everyone,

I have a page, which is taking time to load the entire content in the page.
So,I want to show process/load image on page load.

Can some one help me please.

Thanks in advance
Regards
Lakshman
 
Nirmal ChristopherNirmal Christopher

Hi use apex action status inside it put the apex image tage appropriately to load the action image while oading the page some thing like this.

Example 1
<apex:actionStatus id="actStatusId" >
               <apex:facet name="start"  >
                 <img src="/img/loading.gif" />Loading... or <apex:image tag>         
               </apex:facet>
           </apex:actionStatus>

Exmaple 2
<apex:actionStatus id="Status" stopText="">
        <apex:facet name="start">
            <apex:image url="{!$Resource.Loading}"/>                       
        </apex:facet>
    </apex:actionStatus>
If this helped you hit this as the best answer. Show me some love :)
lakshman.mattilakshman.matti
Hi Nirmal, 
Thanks for the reply.
where this needs to be assinged. can u tel me full fledged coding.
Regards
Lakshman