Page 1 of 1

show image depending on android or iphone

Posted: Mon Jan 06, 2020 9:28 pm
by kenderuiter
Hi,

On my mobile site I want to be able to show an image with a link to the facebook app.
Because I understood that adroid needs another kind of link than the iphone operating system, I want to be able to show an image depending on the os the website is running on

So I place two images on my site (one for android and one for iphone)
Depending on the operating system the 'android link image' shoud only be shown on the android os and the iphone image should only be shown on the iphone os.

Can I do that using WWB? (I am using version 14)

Re: show image depending on android or iphone

Posted: Tue Jan 07, 2020 7:26 am
by Pablo
I doubt that you will need two separate links for Facebook.
I think you can use the same link.

Implementing a conditional link requires scripting.

Re: show image depending on android or iphone

Posted: Tue Jan 07, 2020 7:43 am
by kenderuiter
Hello Pablo,

thank you for your reply!

a link to facebook.com can be done with one link

on a mobile device however i want to navigate the link to the facebook app (so not to a browser)

any ideas as to jow i can do that?

regards,
Ken

Re: show image depending on android or iphone

Posted: Tue Jan 07, 2020 8:49 am
by Pablo
If you use breakpoints then you can show different objects for different screen sizes.
If you want to activate a link for a specific device then you will need to implement a script.

Re: show image depending on android or iphone

Posted: Tue Jan 07, 2020 10:09 am
by zinc
kenderuiter wrote:
Mon Jan 06, 2020 9:28 pm
Hi,

On my mobile site I want to be able to show an image with a link to the facebook app.
Because I understood that adroid needs another kind of link than the iphone operating system, I want to be able to show an image depending on the os the website is running on

So I place two images on my site (one for android and one for iphone)
Depending on the operating system the 'android link image' shoud only be shown on the android os and the iphone image should only be shown on the iphone os.

Can I do that using WWB? (I am using version 14)
This might help you...

https://www.wysiwygwebbuilder.com/forum ... 53&t=78206