File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1414 variable ImageCount
1515 variable N
1616 variable M
17+ variable Width
1718 variable ECPayload
1819 variable Payload
1920 callback DecoratorCallback
2728Start:
2829 clear Container
2930
31+ put `50px` into Width
3032 put 9 into ImageCount
3133 set the elements of Thumb to ImageCount
3234 set the elements of Image to ImageCount
3335 create Buttons in Container
3436 set the style of Buttons to `text-align:center; padding:10px;border:1px solid lightgray`
3537 create Link in Buttons
3638 create Left in Link
37- set style `width` of Left to `60px`
39+ set style `width` of Left to Width
3840 set attribute `src` of Left to `resources/icon/left.png`
3941 on click Left go to DoLeft
4042 put 0 into N
4345 index Thumb to N
4446 create Link in Buttons
4547 create Thumb in Link
46- set style `width` of Thumb to `60px`
48+ set style `width` of Thumb to Width
4749 set style `border` of Thumb to `1px solid white`
4850 if N is not 0 set style `margin-left` of Thumb to `10px`
4951 set attribute `src` of Thumb to `resources/img/imageswitcher/thumbs/img` cat N cat `.jpg`
5254 on click Thumb go to DoThumb
5355 create Link in Buttons
5456 create Right in Link
55- set style `width` of Right to `60px`
57+ set style `width` of Right to Width
5658 set attribute `src` of Right to `resources/icon/right.png`
5759 on click Right go to DoRight
5860 put 0 into N
You can’t perform that action at this time.
0 commit comments