[Plugin: NextGEN Scroll Gallery] TypeError: Object [object DOMWindow] has no method 'addEvent&#
-
Hi,
I found that in all pages except where you are using scrollGallery you can see:
TypeError: Object [object DOMWindow] has no method ‘addEvent’ [http://www.xxxxxss.info:347]
I easily solve it editing SG2Foot function:
public function SG2Foot(){
if (sizeof($this->sgJSArray)> 0)
{
echo ‘<script type=”text/javascript”>
window.addEvent(\’domready\’, function() {‘;foreach($this->sgJSArray as $scriptout){
echo ‘
‘.$scriptout;
}echo ‘ });
</script>’;
}}
But I think that this plugin must be refined: why so many js and loading all these scripts & etc in each page? For example, this js is not necessary, I suppose.
Regards.
The topic ‘[Plugin: NextGEN Scroll Gallery] TypeError: Object [object DOMWindow] has no method 'addEvent&#’ is closed to new replies.