How do I allow embedded elements to be visible while the iFrame is loaded?

In order to allow embedded elements to be visible, the “embeds” JavaScript element must be set to true.

This JavaScript element (embeds) defaults to false due to possible display problems where flash will sometimes display through the widget iFrame. If you set “embeds” to true but encounter problems with Flash, another alternative is to use the the “popup” JavaScript element where the ShareThis widget will instead display in a new popup window.

Below is an example of the ShareThis API procedure which includes the “embeds” JavaScript element:

<script language=”javascript” type=”text/javascript”>< br/>
SHARETHIS.addEntry({
title:’My Share Object!’,
summary:’Sharing is good for the soul.’},
{embeds:true});
</script>

Below is an example of the ShareThis API procedure which includes the “popup” JavaScript element:

<script language=”javascript” type=”text/javascript”>
SHARETHIS.addEntry({
title:’My Share Object!’,
summary:’Sharing is good for the soul.’},
{popup:true});
</script>

*Note: There is a global solution at http://support.sharethis.com/publishers/publishers-faq/configuration/70

Popularity: 10%