2018-08-13, 17:20
Hello everyone
I try to do a Sortletter jump list without the need of Skinhelper. (not shure if Possible)
I tdid try to use a static list with "oncklick"
the whole include fore testing prupose looks like this:
EDIT:
The Reason why i try to do it without Skinhelper is, that i try to avoid to much script stuff in the Skin. + theres a hope it could be faster that way.
I try to do a Sortletter jump list without the need of Skinhelper. (not shure if Possible)
I tdid try to use a static list with "oncklick"
Action(shift,A)
. shouldnt this Action work?xml:
<item>
<label>A</label>
<onclick>Action(shift,A)</onclick>
<visible></visible>
</item>
Quote:Note that SHIFT-B on the keyboard will take you to the B's.
the whole include fore testing prupose looks like this:
xml:
<include name="SortletterJumpList">
<control type="list" id="1020">
<right>30</right>
<top>25</top>
<width>50</width>
<height>1030</height>
<onup>1020</onup>
<ondown>1020</ondown>
<onright>60</onright>
<onleft condition="!Skin.HasSetting(KioskMode)">3001</onleft>
<orientation>vertical</orientation>
<viewtype label="$LOCALIZE[535]">list</viewtype>
<scrolltime tween="sine" easing="out">240</scrolltime>
<visible></visible>
<itemlayout height="50" width="50">
<control type="label">
<left>0</left>
<width>50</width>
<height>50</height>
<font>Font33</font>
<label>$INFO[ListItem.Label]</label>
<textcolor>TextColor2</textcolor>
</control>
</itemlayout>
<focusedlayout height="50" width="50">
<control type="label">
<left>0</left>
<width>50</width>
<height>50</height>
<font>Font33</font>
<label>$INFO[ListItem.Label]</label>
<textcolor>TextColor1</textcolor>
<shadowcolor>ShadowColor</shadowcolor>
<animation effect="fade" start="100" end="50" time="200" tween="cubic" easing="out" reversible="true" condition="!Control.HasFocus(1020)">Conditional</animation>
</control>
</focusedlayout>
<content>
<item>
<label>A</label>
<onclick>Action(shift,A)</onclick>
<visible></visible>
</item>
<item>
<label>B</label>
<onclick>Action(shift,B)</onclick>
<visible></visible>
</item>
<item>
<label>C</label>
<onclick>Action(shift,C)</onclick>
<visible></visible>
</item>
<item>
<label>D</label>
<onclick>Action(shift,D)</onclick>
<visible></visible>
</item>
<item>
<label>E</label>
<onclick>Action(shift,E)</onclick>
<visible></visible>
</item>
<item>
<label>F</label>
<onclick>Action(shift,F)</onclick>
<visible></visible>
</item>
<item>
<label>G</label>
<onclick>Action(shift,G)</onclick>
<visible></visible>
</item>
</content>
</control>
</include>
EDIT:
The Reason why i try to do it without Skinhelper is, that i try to avoid to much script stuff in the Skin. + theres a hope it could be faster that way.