aZra
03-11-2009, 08:37 AM
Hello,
I'am trying to change the colorstyle of a tabslider. But it only works for Flash, not for DHTML.
I'am using OL 4.2.
I really hope someone could help me on this...
Example Code:
<canvas height="600" width="700">
<class name="blackstyle" extends="style"
canvascolor="offwhite"
basecolor="gray30"
bgcolor="gray50"
textfieldcolor="offwhite" textcolor="black"
texthilitecolor="offwhite"
textselectedcolor="offwhite" textdisabledcolor="gray30"
hilitecolor="gray30" selectedcolor="black"
bordercolor="gray30" bordersize="1" />
<blackstyle name="black" isdefault="true"/>
<window width="300" height="500" id="main">
<tabslider id="tabslider" height="${main.height-50}" width="${main.width}" spacing="2" slideduration="300">
<tabelement id="ts0" text="Slider1" minheight="30" selected="true"/>
<tabelement id="ts1" text="Slider2" minheight="30" />
<tabelement id="ts2" text="Slider3" minheight="30" />
</tabslider>
</window>
</canvas>
Thanks for your help!
I'am trying to change the colorstyle of a tabslider. But it only works for Flash, not for DHTML.
I'am using OL 4.2.
I really hope someone could help me on this...
Example Code:
<canvas height="600" width="700">
<class name="blackstyle" extends="style"
canvascolor="offwhite"
basecolor="gray30"
bgcolor="gray50"
textfieldcolor="offwhite" textcolor="black"
texthilitecolor="offwhite"
textselectedcolor="offwhite" textdisabledcolor="gray30"
hilitecolor="gray30" selectedcolor="black"
bordercolor="gray30" bordersize="1" />
<blackstyle name="black" isdefault="true"/>
<window width="300" height="500" id="main">
<tabslider id="tabslider" height="${main.height-50}" width="${main.width}" spacing="2" slideduration="300">
<tabelement id="ts0" text="Slider1" minheight="30" selected="true"/>
<tabelement id="ts1" text="Slider2" minheight="30" />
<tabelement id="ts2" text="Slider3" minheight="30" />
</tabslider>
</window>
</canvas>
Thanks for your help!