[SMARTY] [TIP] popup tag overlib tricky cross platform problem solved

DC <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.