How can I link to an external source on large screen view, but display error message on mobile?

Hello

I’m building an interactive, responsive prototype. (Browser, not a native app).
I have a case, where the user cannot proceed while on mobile, so I would like to display a message such as “Please use your computer”.
However, on the desktop view, when the user clicks the link, I want them to go to an external link.

I was using the OnPageLoad event, but then realized, that this event is the same for both views.

Any ideas how to solve this?

Thank you
Dorota

Sorry.

I resolved it myself.

I put a hot spot on the link button in Desktop view, and when clicking on the link, the user is redirected to the external view.
The hot spot doesn’t exist in mobile view, so when clicking on the link, the user goes to the page and sees the error message.