Hi,
that would be possible this way:
1. look in the vtourskin.xml for the 'skin_showloading' <action> and change it to this one:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
|
<action name="skin_showloading">
set(layer[skin_loadingtext].visible, %1);
copy(lasttick, timertick);
asyncloop(layer[skin_loadingtext].visible,
copy(tick, timertick);
sub(tt, tick, lasttick);
if(tt GT 200,
copy(lasttick, tick);
switch(layer[skin_loadingtext].html, 'loading', 'loading.', 'loading..', 'loading...');
);
);
</action>
|
This action will start an asynchronous loop as long as the loading text is visible - and inside the loop it will measure if 200ms are elapsed - and once they are elapsed, the text will be changed step by step from 'loading' to 'loading...'.
2. By default the loading text element is 'autosized' to it's text content - so to avoid a moving text during the text changes, set a fixed width for the 'skin_loadingtext' <layer> element - e.g. width="100" should work:
|
Quellcode
|
1
|
<layer name="skin_loadingtext" ... width="100" ... />
|
Best regards,
Klaus