FBML elements rendering delay
Posted
by jeffreyveon
on Stack Overflow
See other posts from Stack Overflow
or by jeffreyveon
Published on 2010-03-21T14:48:55Z
Indexed on
2010/03/21
14:51 UTC
Read the original article
Hit count: 609
I am using FBML for rendering certain elements on the page such as the name of the user, profil pic, etc. However when there are many FBML elements on page, there is a slight delay which occurs before they are rendered - that's fine since AJAX calls are made to the server to fetch the data by the JS FB library. However, I want to hide the container DIV holding these element till the elements have finished loading, so is there any way to specify a JS callback function which gets fired when the FBML data has finished loading?
© Stack Overflow or respective owner