Documentation
Dynamic loading of widgets

For dynamic widget loading you need to add into callback function of new content(page) the following code:

document.getElementById('hypercomments_widget').innerHTML = '';
var _hcp = {};
_hcp.widget_id = WIDGET_ID
_hcp.xid   = PAGE_XID; 
HC.widget("Stream", _hcp);

, where

  • _hcp - object with widget settings
  • Stream - widget name (Stream, Mixstream, Bloggerstream)