Facebox not loading image
I'm using Facebox for my popups.
However when loading big pictures it shows the Facebox but without the spinning circle.The "Facebox loading" thread has this solut开发者_运维百科ion:
$("#test2").click(function(){ 
       $.facebox(function() { 
            $.facebox.loading(); 
            $.get('whatever.php', function(data) { 
                    $.facebox.close_loading(); 
                            $.facebox(data); 
                            }) 
            }) 
       }) 
However I can't get this properly implemented for images.
I had the same problem. It appears to be a bug due to the new layout.
I made the changes in the loading function, from the facebox.js:
FROM:
  $('#facebox .body').children().hide().end()
TO:
  $('#facebox .content').children().hide().end()
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论