1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reloading Animation

Discussion in 'XenForo Questions and Support' started by Travis, Dec 14, 2010.

  1. Travis

    Travis Active Member

    Quick Question. I have just added XFShout to my site,but the animation that appears when it is loading new messages is quite annoying. It is XF Default,and I was wondering if anyone knew how to disable it.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    This one?

    ajaxload.info_FFFFFF_facebook.gif

    I don't see an option to disable that. I think this requires editing this file:

    js/xenforo/xenforo.js

    Search for "inprogress". There are a few instances.

    Maybe some one else knows an easier way.
     
  3. Travis

    Travis Active Member

    Yeah,that's the one. I hope there is an easier way. I don't like editing files :(
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    This is a bit of a fudge but you could just replace the .gif with a transparent image file.

    So it would still be loaded, you just wouldn't see it.
     
  5. Travis

    Travis Active Member

    Which Image do I replace?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    There are 3 loading images in styles\default\xenforo\widgets

    They are:
    ajaxload.info_000000_facebook.gif
    ajaxload.info_B4B4DC_facebook.gif
    ajaxload.info_FFFFFF_facebook.gif

    They're all 16x11px so you just need to create a transparent image the same size and rename it to match the loading gifs you want to replace.
     
  7. Travis

    Travis Active Member

    I have replaced these images. However,It is still loading an image. Take a look at http://www.ncisaddict.com/forum/,in the top left corner and see what the problem is.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Have you replaced them in the directory of the style you're using?
     
  9. Travis

    Travis Active Member

    yes. I am using "orange".
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Hmm, maybe the .js file uses the images from the default directory then.
    Try replacing those.
     
  11. Carlos

    Carlos Well-Known Member

    Dear OP, NCIS is awesome.

    That is all.
     

Share This Page