Skip to content

Commit 0fdc12f

Browse files
committed
Fix paths
1 parent 77e5833 commit 0fdc12f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/imageswitcher/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
create Link in Buttons
3535
create Left in Link
3636
set style `width` of Left to `60px`
37-
set attribute `src` of Left to `resources/icon/left.png`
37+
set attribute `src` of Left to `/resources/icon/left.png`
3838
on click Left go to DoLeft
3939
put 0 into N
4040
while N is less than ImageCount
@@ -45,7 +45,7 @@
4545
set style `width` of Thumb to `60px`
4646
set style `border` of Thumb to `1px solid white`
4747
if N is not 0 set style `margin-left` of Thumb to `10px`
48-
set attribute `src` of Thumb to `resources/img/imageswitcher/thumbs/img` cat N cat `.jpg`
48+
set attribute `src` of Thumb to `/resources/img/imageswitcher/thumbs/img` cat N cat `.jpg`
4949
add 1 to N
5050
end
5151
on click Thumb go to DoThumb
@@ -60,7 +60,7 @@
6060
index Image to N
6161
create Image in Container
6262
set the style of Image to `width:100%;display:none`
63-
set attribute `src` of Image to `resources/img/imageswitcher/img` cat N cat `.jpg`
63+
set attribute `src` of Image to `/resources/img/imageswitcher/img` cat N cat `.jpg`
6464
add 1 to N
6565
end
6666
put 0 into N

0 commit comments

Comments
 (0)