Reload Fancybox - Dynamic Content

Discussion in 'JavaScript' started by oscardog, Jan 24, 2011.

  1. #1
    Hey,

    I have content set using something like the following:

    document.getElementById("ie_content_container").innerHTML = slides[(id - 1)];

    And in each 'slide' is some content. Some of them have Fancybox links in them but once it has changed there is no way to make them open fancybox when clicked.

    So is there a way to 'reset' Fancybox after the content has been changed?

    Thanks in advance!
     
    oscardog, Jan 24, 2011 IP