I'm trying to add heyzap games to my site. When I add an html block to a page I create, and add the following code, it works fine with Firefox. But with IE, when you visit the games page, it keeps popping the game page up in another window, creating yet another popup, for a never ending loop. Here's the code I'm adding, for some reason it's conflicting with a part of dolphin, I'd like to pinpoint the problem:
<script type="text/javascript"> (function() {
var hzex = document.createElement("script"); hzex.type = "text/javascript";
hzex.src = "http://www.heyzap.com/javascripts/embed.external.js";
document.getElementsByTagName("head")[0].appendChild(hzex);
var tm = setInterval(function () { if(typeof window["Heyzap"] == "function") {
(new Heyzap('heyzap_games__927026101986', {"embed_key":"7676829605","width":900})).renderPortal();
clearInterval(tm);
}}, 100);
})();
</script><div id="heyzap_games__927026101986"></div>
----
So whats happening in IE: Visit http://www.mydomain.com/page/games, the page you are on popups up in a new window, with a # attached to the url, like so:
http://www.mydomain.com/page/games#
**PROBLEM SOLVED**
