Olaf Bosch wrote:
> Robert O'Rourke schrieb:
>
>
>> The intention is to slice up that massive background image on the fly
>> which is easy to do with the cms I'm using, I am going to have a set of
>> images for choosing the big background image or for getting rid of it
>> altogether down one side so I need the png support...
>>
>
> o.k. then, make it over CSS, so
>
> first add two DIV a id="png_head" and id="png_foot"
> then give the two images a class="hidden"
>
> <!--[if lt IE 7]>
> <link href="ie5-6.css" type="text/css" rel="StyleSheet"
> media="screen" />
> <![endif]-->
>
> in ie5-6.css write
> .hidden{
> position:absolute;
> left:-1000em;
> top:-1000em;
> }
> #png_head{
> filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='head.png',
> sizingMethod='image');
> width: 100px;
> height 100px;
> /* positions margins and so on */
> }
> #png_foot{
> filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='foot.png',
> sizingMethod='image');
> width: 100px;
> height 100px;
> /* positions margins and so on */
> }
>
> No JS required, untested, writing errors+other trouble include ;)
> This are my way to go with this problem. The best is the simple,
> no tons of scripting :)
>
>
Got it sorted now, thanks Olaf.
I was getting carried away with jQuery, it's slowly starting to make
sense and I'm really getting into it now. Just have to be careful not to
overdo it :-)
Rob
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/