0
Beantwoord
Bubble popup with slider...
Andrey Honich 10 jaar geleden
in iRidium Script / Interface scripts
•
bijgewerkt door Oksana (expert) 10 jaar geleden •
8
Hallo,
Is there some way to show automatic bubble popup with numerical value when I move slider on mobile devices?
The point is the slider control is quite small, and when I put finger on it i cannot see anything under it, I even don't know either I hit control or not. Also quite often I need numerical control for some precise adjusting in several percents.
If it's not possible in current version, can I expect to see this feature in some near future I2 release please?
Please check OpenRemote sliders as reference.
slider1.jpg
slider1.jpg_thumb
Is there some way to show automatic bubble popup with numerical value when I move slider on mobile devices?
The point is the slider control is quite small, and when I put finger on it i cannot see anything under it, I even don't know either I hit control or not. Also quite often I need numerical control for some precise adjusting in several percents.
If it's not possible in current version, can I expect to see this feature in some near future I2 release please?
Please check OpenRemote sliders as reference.
slider1.jpg
slider1.jpg_thumb
Customer support service by UserEcho
Sure this is possible using an iRidium script. You will need to add a listener to the press event that will show and position the popup. Then a move listener to reposition the popup to the the same point as the value of the level. Then a hidepop call on the release event.
Thanks,
Roger
Is this means i cannot use any script events?
Only Pro version of the site license will allow you to using scripting. I only take Pro licenses, since every project I have implemented has used scripting. Using scripting gives me limitless possibilities in setting up unique designs.
When you do this without scripting it wont be possible to move the popup along the level.
Just add a show popup on Press event and Hide Popup on release. In the popup create an graphic item with a relation to feedback channel of the light ( or other ).
Thanks,
Roger
I'm not gonna use any additional fancy script features (at least for now) which will just slow down the interface …
Actually what you can do with scripting is what makes iRidium such a power platform to work with. It can take an UI to the next level.
Take a look at the attached project. This is an simple way of using the UI without scripts. Replace the links that point to the global token with links that point the feedback command of the device you are controlling.
Yes you can create levels button which are smaller\refined and still be able to control them…. Look at the project.
Thanks,
Roger
sample.irpz
This works quite good!
Thank you very much.