How to create a link to a web page depending on the spinner value

Ok… i Have only 1 spinner with 3 values… (youtube, facebook, twitter)

and under this spinner i have one button (only one). So when i chose “youtube” in spinner and then i click on button, the app open http://www.youtube.com. When i chose “facebook”… the same button open facebook.com and the same with twitter.

How can i do it?

use 2 lists, a text list (youtube, facebook, twitter) and a link list
after picking a text, select the corresponding link from the second list

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like