[dev] A new way for the icons (was: trees and PNG transparency in
IE)
Vilius Šumskas
vilius at lnk.lt
Fri Dec 10 01:31:38 PST 2004
>>> Another thought; allow not only .png images to be used in themes.
>>> Link images
>>> only by name, not by extension. So this way we can create themes, that
>>> would be "compatible" with IE. For example only gif based.
>>
>> How would you avoid utterly killing performance?
>
> Create iconset.php file in every theme directory. Put in it something like:
>
> $icon['next'] = 'next.png';
> $icon['back'] = 'back.png';
> $icon['tree']['plus'] = 'tree/plus.png';
>
> And change all .pngs in templates to those variables.
Or use CSS for all icons. A wonderfull technic of this are here:
http://www.maxdesign.com.au/presentation/remote/remote-new.htm
and here: http://www.hansadraudimas.lt/kitos_paslaugos.html
--
Vilius
More information about the dev
mailing list