Parallax Effect (3D background in the project)
Use the script from example to make a Parallax Effect for your projects background.
Background Image should be bigger than the base page
Parallax_Effect.irpz
Custom Password in GUI for secured Page
you can use this script (see attachment, script is in the "JS" tab in GUI Editor)
Lists and Single/Double Tap on list item distinguishing
Hi everybody,
I decided to write this post as I haven't found any clear solutions for the tasks I met. Writing a driver for Autonomic Mirage Media Server (MMS) I faced the necessity to provide a good way for the user to manage content of the media server so that the user could find and select the media to include into 'now playing' list. Imagine the following situation. A user wants to find a content to play by genre. I want to show on the popup both the list of genres as well as the list of albums related to the selected genre. Once the user choose a specific album, I want to show both the list of albums, related to the selected genre, as well as the list of songs within the selected album. Of course there are a number of ways how to organize that but I didn't want to have a mess of popups and I wanted the user to clearly understand the 'chain'.
Thus I decided to do the following. A created a popup with a static list of 'list' popups. At once only two 'list' popups are visible. Once the user chooses the item in the left list within the 'list' popup, I scroll the static list so that the right 'list' popup becomes the left one and the third 'list' popup becomes visible... I didn't use the practice to populate a single list with different data as in a real life so called 'list popups' will have completely different layout.
One more thing to be mentioned: I wanted to distinguish a single tap on the list item from a double tap and do different things. For instance I wanted to show special popup on the double tap on the item so that the user could choose whether to play the album/song immediately or just add it to the playlist.
In the attached project there are both technics are shown. Probably there is an easier way to do the same or I reinvented the wheel...
Vladimir Makarov
NestedLists.irpz
List Item Example project for Iridium V2.0
A:
Please try this project.
ListTest__2_.irpz
Custom Slider for the Level Item
Download the project from attachment. Here you can see the Level items, Slider items and Script file in [JS] window. This script connects the Level with the separated Slider.
Using instances of the script you can make one, two or more Levels with unique Sliders.
alternate slider.irpz
3 state button
3State_Buttons_2.irpz
Javascript Tutorials
Rotate letters for language Hebrew
RotateText.irpz
Change a text at Item when Level moves
This example shows you how to change some parameter of the graphic item in your GUI.
We change a text field of the item from the word to the real value received from equipment and back. It is possible using tags of graphic item.
ChangeText-when-lvl-moves.irpz
Open the popup when maximizing the app
If you want to open some default page or popup each time when maximizing the iRidium app, use the example attached
Background-Foreground_mode_iOS.irpz
Color relation
I use a color picker to fill a global token. But if I use the editor to create a relation it doesn't work.
http://farm9.staticflickr.com/8123/8659810061_9308ffd90e_z.jpg">
If I use Javascript using the following line:
IR.GetItem("Main").GetItem("Item 1").GetState(0).FillColor = IR.GetVariable("Tokens.BannerColor");
It DOES work. But it would be nice if i could use the first option
A:
This fixed! Please try project!
ColorTest__1_.irpz
EVENT_ITEM_CHANGE not send text value
A:
Please try this project.
FullAccessDataItemforListener.irpz
Image size changing
Q:
A:
Recommended Reading for the Scripts
Block the button for a while after pressing it
This is to be used for example when actuating a garage door and the magnetic contact is down. How can the user be sure that he pressed the button if the feedback is connected to this switch placed at end of run of the door? Does the functionality exist? What does it means "holding time"?
A:
screensaver
A:
screensaver.jpg
Create project tokens
A:
Selected Item info
A:
Great guide to object oriented javascript. ))- advanced users
How do I call Execute from JS
How do I call Execute from JS?!
A:
Сервис поддержки клиентов работает на платформе UserEcho