You are not logged in.

1

Tuesday, December 3rd 2019, 3:28pm

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 :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<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 :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<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:)