You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


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"
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' );
<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' );
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)


Monday, December 9th 2019, 8:05am

it solved in here