How to use javascript to target right app store

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? :slight_smile:

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: javascript - Show or Hide Div based on OS - Stack Overflow

1 Like

Thanks @vincent! I have a look :slight_smile:

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