And here's a Buzz button:
A few days ago I implemented the Buzz share buttons on a website at the clients request and it all seemed to be working great, until this morning I found that some pages were failing to load in Internet Explorer 8.
I pointed IE8 at the development site and confirmed there was a serious problem. The error I recieved was thus:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
Timestamp: Thu, 22 Apr 2010 13:33:25 UTC
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917) Line: 0 Char: 0 Code: 0
I disabled the Buzz button to confirm it was part of the problem (which it was), and then checked my implementation against the documntation and other sites. Everything seemed to be OK. After a long period of debugging, and following up false leads it turned out to be that Internet Explorer was executing the Google Buzz button's javascript code too early - even when it was in the page footer.
The Solution:
Once again jQuery came to the rescue - I replaced this line:
<script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>
with this line:
<script type="text/javascript">jQuery(document).ready(function(){jQuery.getScript('http://www.google.com/buzz/api/button.js');});</script>
na092 louis vuitton outlet,louis vuitton outlet,louis vuitton outlet,louis vuitton outlet,louis vuitton outlet,louis vuitton outlet qs858
ReplyDeletejd212 fake bags gq781
ReplyDelete58tre The best replica bags website in 2024My Replica Store , replica bags , AAA replica bags , ysl replica bag and so on.fefd36
ReplyDeleteLoved readiing this thanks
ReplyDelete