Associate
Hi guys
I have a very strange problem that started cropping up a few days ago (not sure if it's something I've done, or something Facebook has done).
Basically I have a div on my page and am using Javascript to populate that div with Facebook comments onload (the site is AJAX orientated meaning I need to dynamically set the URL of the Facebook comments when the page loads).
When the Facebook comments iframe loads onto the page, it loads in an awkward place, not centralised in the container div, but starting in the middle and stick out the right hand side.
When I right click and inspect element in chrome, the comments box jolts into the place.
I've also noticed that if a comment is already present in the box, the "jolt" happens automatically.
I've tried purely putting the Facebook comments box on the HTML page without any Javascript and the same problem occurs.
Does anyone have any idea why this happens and how I can stop it?
Many thanks
I have a very strange problem that started cropping up a few days ago (not sure if it's something I've done, or something Facebook has done).
Basically I have a div on my page and am using Javascript to populate that div with Facebook comments onload (the site is AJAX orientated meaning I need to dynamically set the URL of the Facebook comments when the page loads).
When the Facebook comments iframe loads onto the page, it loads in an awkward place, not centralised in the container div, but starting in the middle and stick out the right hand side.
When I right click and inspect element in chrome, the comments box jolts into the place.
I've also noticed that if a comment is already present in the box, the "jolt" happens automatically.
I've tried purely putting the Facebook comments box on the HTML page without any Javascript and the same problem occurs.
Does anyone have any idea why this happens and how I can stop it?
Many thanks