I was looking for customising the weather script to add fade-in and out effect on the background.
My problem is that I added some effects but.... the background is set up in the "root" layer so if I put an effect on this layer, the effect will also apply on the sub layers.
I just want to apply the effect on the background and not on the sublayers.
here is what I made for the layers:
Root layer (blank) with effect call: onmouseenter="!EFFECT:SHOW,background_layer,255,10,10" onmouseexit="!EFFECT:HIDE,background_layer,100"
- Bacground layer
- low temp layer
- hi temp layer
- ...
The problem is that a blank layer doen't give me onmouseenter and exit event (because it's blank of course....)
How can I resolve this issue?? I tried to put a transparent PNG as background but it doesnt change...
This is my code:
<layer name="fullbg" x="36" y="48" width="291" height="186" alpha="255" visible="%FULLMODE%" scale="no" onmouseenter="!EFFECT:SHOW,background_full,255,10,10" onmouseexit="!EFFECT:HIDE,background_full,100"/> <layer name="background_full" src="full%SUN%.png" x="0" y="0" width="291" height="186" alpha="100" /> <layer name="day0" src="!XMLSRC:['small/'][//dayf/day[@d=0]/part[@p='n']/icon]" x="22" y="78" /> ... <layer name="cityname" src="!XMLTRANSTXT:[substring-before(//loc/dnam,',')]" x="125" y="30" fontsize="13" fontname="Lucida Sans Unicode" fontstyle="B" alpha="255" fontcolor="clwhite" width="100" height="20" fontalign="L"/> <layer name="ccctmp" src="!XMLTXT:1[//cc/tmp]['°']" x="180" y="7" fontsize="38" fontname="Lucida Sans Unicode" fontstyle="B" alpha="255" fontcolor="clwhite" width="100" height="50" fontalign="R"/> <layer src="grid" x="15" y="60"/> </layer>
Thanks for this excelent script interpretter








Sign In »
Register Now!
Help

MultiQuote