|
|
#1 |
|
Junior Member
Join Date: Jul 2004
Location: Lithuania, Vilnius
Posts: 49
|
Need some help with a few minor things
Ok. I've almost finnished a skin I've been working on for a while and I have some little questions:
1. How do I make the timer change from 'Time Elapsed' to 'Time remaining' and vice versa on mouse click?. Practically all skins have this feature but I can't seem to make my Text object with the Display parameter set to "Time" change from "0:00" to a "-0:00" style when it is clicked. Couldn't find any examples. 2. What is the Color id of the scrollbar within Colorthemes lists?(<colorthemes:list ... />). |
|
|
|
|
|
#2 |
|
Senior Member
|
code: Unless I'm mistaken, adding a text object with the display attribute set to 'time' should give you a timer that when clicked, switches from time elapsed to time remaining and vice versa. And for your color themes list question: The list uses images to create the scrollbars. Here's the xml for it: code: Hope that helps. If not, then one of the skinning gurus might be able to help you out a little better. ![]() Oh and by the way, making your text red isn't necessary. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2004
Location: Lithuania, Vilnius
Posts: 49
|
Thanks for the images.
The text I entered was: <text id="timer" display="time" x="40" y="145" h="10" w="30" ghost="0" font="display.font" align="CENTER" timecolonwidth="5" nograb="1"/> and there's also a script following that changes its alpha from 0 to 255 and vice versa, and it doesn't react to mouse clicks. What do you think is the problem? Maybe it's because of the font "display.font is all pixels and complete transparency? |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|