javascript - Facebook Applications & Animated Loading Gif -
After
I am developing a Facebook application and am working in running a little snag. When I call Ajax I want to know the user is loading the app.
My confusion is that others say that the Facebook app does not allow animated GIF, although the above application has animated GIF, I scanned no benefit through my source code how animated gif Any ideas on how to get a Facebook application to play will be great
. & Lt; Script type = "text / javascript" & gt; Function search_azax () {document.getElementById ('Loading'). SetStyle ('display', 'block'); Var Ajax = new Ajax (); Ajax.responseType = Ajax FBML; Ajax.ondone = function (data) {document.getElementById ('search_results') setInnerFBML (data). Document.getElementById ('Load'). SetStyle ('Display', 'None'); } QueryParams = {"VSearchMake" on:} document.getElementById ('VSearchMake') getValue (), "VSearchModel": .. Dokyumentkgetelementbyid ( 'Vsrcmondel') Jtwlua (), "Vsearchyar" Dokyumentkgetelementbyid ( 'Vsearchyar') Kjtwlua (), "Vsrcske" Dokyumentkgetelementbyid ( 'Vsrcske') Jtwlua (), "Sonevused" :. . Document.getElementById ('ShowNewUsed') getValue ()}; Ajax Post ('http: //domainname/facebook/results.cfm', queryprim); } & Lt; / Script & gt; & Lt; Img src = "http: //domainname/images/loading.gif" id = "loading" style = "display: none;" / & Gt;
You mean animated blue bar? I'm sure this is not an animated GIF, but running JavaScript stuff. Given that I've seen it on many sites, I will seek JS function related Facebook API. Sorry to answer the full answer, but maybe it tells you in the right direction.
Comments
Post a Comment