[dev] alphaImageLoader patch

Vilius Šumskas vilius at lnk.lt
Wed Nov 10 11:57:44 PST 2004


Cituojama Chuck Hagenbuch <chuck at horde.org>:

> Quoting ViliusŠumskas <vilius at lnk.lt>:
>
>> It works, but it is a *lot* slower. I think that's because of IE somehow is
>> loading this file on everyimage, and Horde Registry is initiated again and
>> again.
>
> Try with the caching headers I just added.

Cool. Much better.

>> If hardcoding path is worring you I have a suggestion.
>
> It's not that it worries me, it's simply unacceptable.
>
>> Put alphaImageLoader.htc _and_ blank.gif into 
>> /horde/js/alphaImageLoader/ directory. blank.gif is a hack, not 
>> graphics, and belongs there IMHO. So this way you will not brake 
>> directory tree logic.
>
> Can you make that work? I had a lot of trouble with the .htc and the graphic
> being loaded out of the wrong place unless I gave it an absolute path.

Haven't though about that. I guess I can't.

-- 
   Best Regards,

   Vilius




More information about the dev mailing list