I'd like to display a Flickr badge as alternate content when a user doesn't have Silverlight installed to display my Flickr Silvrlight App. This works in Firefox, but not in IE:
<object width="100%" height="100%" type="application/x-silverlight-2" data="data:application/x-silverlight-2," id="SilverlightObject">
<param value="/ClientBin/FlickrSilverlightApp.xap" name="source"/>
<param value="2.0.31005.0" name="minruntimeversion"/>
<!-- Flickr Photos -->
<div id="flickrbadge">
<h3 class="subheading">Flickr Photos<a target="_blank" href="http://www.flickr.com/photos/tags/monkey/">View All</a></h3>
<script src="http://www.flickr.com/badge_code_v2.gne?count=8&amp;display=latest&amp;size=s&amp;layout=x&amp;source=all_tag&amp;tag=monkey" type="text/javascript"></script>
</div>
</object>
The h3 tag content is being displayed, but the Flickr badge isn't. I looked at what the Flickr badge code does. It's nothing fancy, but it does document.write some content. Does IE not support document.write inside an tag? If not, how should I work around it?