show image depending on android or iphone

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
kenderuiter
 
 
Posts: 38
Joined: Thu Jul 08, 2010 7:01 pm

show image depending on android or iphone

Post 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)
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: show image depending on android or iphone

Post 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.
kenderuiter
 
 
Posts: 38
Joined: Thu Jul 08, 2010 7:01 pm

Re: show image depending on android or iphone

Post 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
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: show image depending on android or iphone

Post 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.
User avatar
zinc
 
 
Posts: 2146
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: show image depending on android or iphone

Post 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
Running WYSIWYG Web Builder since 2007...
Post Reply