You are not logged in.

1

Monday, December 2nd 2019, 5:00pm

bug in border of active thumbnail

hi every one,
i just confused where is the problem in my code?
i try to have border just in active thumbnail(picture that i use bottom of page)
save border at first scene that load and don't change color of active border.
i try box shadow picture gone.

here's code :
<plugin name="thumbs_back" keep="true" type="container" align="bottom" height="110px" visible="true" zorder="4" width="210px" y="30"
/>
<plugin name="thumb1" style="skin_glow" url="skin/1.jpg" keep="true" handcursor="false" width="200px" height="144px" capture="false"
align="right" x="15" parent="thumbs_back"
scale="0.4" scalechildren="true" y="-10" zorder="20" bgborder="2,2,2,2 0x00000 1"
/>
<plugin name="thumb2" style="skin_glow" url="skin/2jpg" keep="true" handcursor="false" width="200px" height="144px" capture="false"
align="left" x="15" parent="thumbs_back" onclick=""
scale="0.4" scalechildren="true" y="-10" zorder="20" bgborder="2,2,2,2 0x000000 1"
/>
<plugin name="th_justback" keep="true" type="container" align="center" height="110px" visible="true"
parent="thumbs_back"
onloaded="
set(width,210);
set(bgalpha,get(menu_settings.menu_transparency));
set(bgcolor,0x7fa1ab);
set(x,0);
set(y,0);
set(bgroundedge,10 10 10 10);
);"
/>
for every scene i use this actions

and actions :
<scene name="scene1" onstart="update();">
<action name="update">

set(plugin[thumb1].bgborder, '2,2,2,2 0xff0000 1' );
set(plugin[thumb2].bgborder, '2,2,2,2 0x000000 1' );
</action>
</scene>
<scene name="scene2" onstart="update();">
<action name="update">

set(plugin[thumb1].bgborder, '2,2,2,2 0x000000 1' );
set(plugin[thumb2].bgborder, '2,2,2,2 0xff0000 1' );
</action>
</scene>
active scene is thumb one in scene 1 and i want to be red
in scene 2 thumb 2 red
in attachments shows that thumb 1 border stuck red even in thumb 2

thanks for your quick response:)

This post has been edited 1 times, last edit by "Cestmoimahdi" (Dec 3rd 2019, 3:19pm)


2

Monday, December 9th 2019, 8:05am

it solved in here