Re: [SMARTY] this might be a stupid question, but ...

From: Date: Tue, 04 Jun 2002 13:20:18 +0000
Subject: Re: [SMARTY] this might be a stupid question, but ...
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4565@lists.php.net to get a copy of this message
I'm considering removing the overlib.js file from the Smarty distribution and forcing the src attribute with popup init. This way Smarty does not have to try to keep up with overlib releases. The user must obtain overlib themselves and install it under their document root. Any objections? Monte Andreas Kossmeier wrote:
Rasmus Schultz wrote:
.... why is there a HUGE javascript embedded into every page that use the OverLib popup features? doesn't really make sense, does it? I mean, couldn't all this code be in one .js file, which the client would then only have to load once?
popup_init has an optional parameter "src" since 2002/02 (not documented) for linking overlib.js, e.g.: {popup_init src="/include/js/overlib.js"}
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

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