My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1358: Loading gif during the load of events
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by RusinPie...@gmail.com, Mar 29, 2012
Hello,

i use fullcalendar loading events from my database. I have lots of events so when i open the page i must wait from 3 to 10 secondes to see the events on my callendar. It's not really a problem but i wanted to set a loading gif.

The script i used to make that is this one:
"$('body').prepend("<div id='wait' style='position:absolute;width:220px;top:300px;left:700px;text-align:center;font-weight:bold; z-index:100;' >Chargement en cours . . .<br/><img src='../../images/chargement.gif' ></img></div>");
    function body_ready(){$('body').css('margin-top','');$('#wait').css('display','none');}
    $(document).ready(function(){body_ready();});" 

The problem is that this script wait for the document to be ready but the document is ready befor the display of each events. So i can't use my loading gif.

How can i ask my events to be ready ?

Thanx in advance for your aswers ;)
Aug 15, 2013
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting