[TIP] popup tag overlib tricky cross platform problem solved

From: Date: Mon, 13 Feb 2006 22:28:31 +0000
Subject: [TIP] popup tag overlib tricky cross platform problem solved
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13321@lists.php.net to get a copy of this message
Hello, I spent today trying to nail down an elusive problem with overlib (version 421) popups showing on Mac Safari and Firefox but not on Win2000Pro. In IE6 I was getting a javascript error 'over is null or not an object'. The problem was that I had a duplicate {popup_init src="overlib.js"} tag in an included template. Once I removed the extra popup_init tag the problem went away. I'm sending this out so that it can make it into the archives and save someone else the trouble I had. BTW, I know it really is an application level problem, but is there a way to warn smarty users that popup_init has been called twice? Cheers, dc

« previous php.smarty.general (#13321) next »