I found the problem when running the Slide Show within DotNetNuke there are multiple body tags appeared in the source(if you use view source) and some how onLoad runSlideShow() did not get fired.
1. I removed the <Body> -</Body> tag from ControlSlideshow.ascx
2. To register the javascript event add following function in ControlSlideshow.ascx and worked fine with popup enabled or popup disable settings.
<script language="javascript">
function registerEvent(obj, evtType, fn) {
var result = false;
if (obj.addEventListener) {
obj.addEventListener(evtType, fn, true);
result = true;
}
else if (obj.attachEvent) {
/* Fix for Microsoft IE */
result = obj.attachEvent("on" + evtType, fn);
}
return result;
}
registerEvent(window, "load", runSlideShow);
... Rest function runSlideShow() ... will stay as is.
</script>
3. I testedGallery running in IE6.0 and Mozilla FireFox v1.0.4 and Netscape v8.0.2 it works good. Image Fading effect in Slide Show was absent in Mozilla FireFox v1.0.4 and Netscape v8.0.2 rest looks good.