Rank: Administration
Groups: AcademicCoachingSchool, admin, Administration, BookSeller, CatholicSchool, CoachingAdult, CoachingProfessional, CoachingSports, ExtraCurriculumCoaching, IndependentSchool, Moderator, MusicTeacher, PrivateSchool, PublicSchool, SelectiveSchool, tutor Joined: 23/11/2008(UTC) Posts: 523
|
Facebook like button crashes when navigating backwards and forwards in chrome. The error is "fb:like failed to resize in 45s". The mark-up for the like button: Code:<div class="fb-like" id="fb" data-href="http://bettereducation.com.au" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div>
I searched the internet and haven't found a solution yet. The bug has been logged at https://developers.faceb.../bugs/1374566599479814/.Then I googled a temporary workaround - adding the following CSS, but it didn't help. Code:.fb-like iframe{width:450px !important;height:20px !important;}
See http://stackoverflow.com...-failed-to-resize-in-45s I wonder whether the issue has something to do with replacing URL in the script: Code:<script type="text/javascript">
var sUrl = window.location.href;
document.getElementById('fb').setAttribute('href', sUrl.replace("http://www.", "http://"));
</script>
Edited by user Sunday, 6 April 2014 8:33:32 AM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.