Streaming live at 10am (PST)

How to use javascript to target right app store


#1

Hi, Im trying to use this to direct an app to open right platform. How do I apply this to a button in designer?
Any help? :slightly_smiling:


#2

Hi, you need to hide or show things depending on the OS. So several buttons with several URLs, showing or not depending on what OS the page is seen.

You could have a more complicated script that detect the OS and compose the button specifically but I have the feeling that you can make the show/hide one work, when you need to write the other one, more difficult.

Here's a place to start: http://stackoverflow.com/questions/20922085/show-or-hide-div-based-on-os


#3

Thanks @vincent! I have a look :slight_smile:


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.