facebook - How to get fb like buttons to load last? -


i have page bunch of imgs, these imgs link own page. each img, have button, url individual page.

in ff, imgs load first, in chrome, seems buttons load first.

how can buttons load after page otherwise loaded?

since, didn't posted code, can give link jquery command .ready(): http://api.jquery.com/ready/

if put function within command, executed after every image or other content of page (or element) loaded.

for example can add facebook button jquery after images loaded this:

$(document).ready(     function() {        $("#fbpages").children("li").each(            function(key, val) {                $(val).html($(val).html() + '...fblikebutton...');            }               );         } ); 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -