Is there something I can put in the code for an HTML page I am making for Safari on iPhone to make a call when clicked on? Something similar to:
click to call
Try to remove // from your link, that is click to call
As Nava answered, remove // from your link.
But if you are using same web-application for desktop as well as mobile, then this won't work for your desktop and when you click on link, page will gone to "tel:XXXXXXXX". So this idea became fail.
Try using "callto" instead of "tel" like this
<a href='callto:1300111222'>Click to call</a>
Then if you are using mobile browser, then it will show call prompt and if you are using windows browser, then it will prompt you to call with "Skype" and any other related application.
Related
It seems like the mailto links we're embedding in our website fail to do anything in Chrome, though they work in Firefox.
hi this is a test
Do we need to do something special to enable mail links in Chrome?
Click on a mailto link does nothing. Nothing happens. It works in firefox and every other app on the computer.
How do I add an external program as the mail handler or make chrome use the system mail handler?
im try this in my chrome work
send email
im use windows im just configuration default app in setting windows
or type start button "default mail"
We have a call button on our web application. It's a simple button that uses the standard href="tel:" function. Here is a snippet of what my call link looks like.
<span class="text-uppercase">Call Us</span> <br>{{$contactSetting->format_phone}}
The latest version of Safari appears to have changed the behavior to a long gesture, which requires a click of more than a second, then offers a number of features like "Facetime" as you can see in the image below.
How do I just get my href="tel:" on safari to immediately recognize it's a phone call and immediately show the "Call" button? By immediately I mean remove the 1 second lag that appears to be the safari default for this link type.
IOS Version: 14.0.1
Safari Version: 14.0.1
After further testing and research, I realized my issue was that because my widget was now rendered via an iframe, safari doesn't handle the call link the same manner that it does one within the HTML. To get it to handle a call link within an iframe, you have to add target="_parent" to the anchor so that it looks like this:
<span class="text-uppercase">Call Us</span> <br>{{$contactSetting->format_phone}}
I learned this after testing a call link within the parent page, then reading who should receive credit for this question:
Phone links are not working inside iframe though it does work in div in iOS9 web. how to make phone links make work in iOS9 safari?
I'm creating a mobile website with a Whatsapp share button. I've checked every single post on Stackoverflow before opening a new question.
The thing is, when i put something like this:
send
or this:
send
the anchor just isn't on the website!
of course, if i put every other link instead of "whatsapp://send" it works.
I need to add: it do work for every browser but Safari.
Is something wrong with my code? Should i use a URL instead of the whatsapp protocol?
Edit: i've tried with the wa.me i.e.:
but whatsapp says it's incorrect. Of course, it works on every other phone or whatsapp web too
thanks guys!!
ok, the issue was solved this way:
if you didn't put the ?phone part it just didn't work on safari.
If yo use wa.me it didn't handle it correctly on Whatsapp (iOS).
If you use the whatsap:// protocol it didn't work on Safari.
Anyway I don't know WHY the anchor didn't appeared. Did Safari check links or parse html code before showing?
f* you Safari!
I am working on a site that has a mobile site: http://www.exchequersolutions.co.uk/m/ I am trying to create a link to the desktop site with out much luck.
When the user clicks on a link I want them to be taken to the desktop site.
The link in the anchor tag is:
<p><a href="http://www.exchequersolutions.co.uk/contractors/cis-self-employed/cis-form/" target="_blank" class="cis_register" >Register Online</a></p>
Does anybody know how or even if this is possible?
Is not possible.
Every browser implement a function to save a link on OS FileSystem (drag&drop or file > save as ...).
You're stuck in a loop caused by user-agent detection.
It looks like there is device detection on the desktop site that uses the user-agent to identify mobile devices. If you follow a link to the desktop site using a mobile phone, you'll just be sent back to the mobile site.
There are a few different ways you can fix this, but it depends on your site architecture. One way would be to disable the redirect on the desktop site if you include a specific parameter in the query string. Another option would be to set a cookie and use that to disable the redirect.
I have achieved creating an email link that works on mobile devices using 'href="mailto:example#webki.com"' When you click on the button via mobile device, it prompts you asking how you want the email delivered however when I click on it from google chrome on my lap top it does nothing. Does any one have a solution that would work on desktops as well? Thanks for all the help.
Yes. That work on desktop well. I think on your laptop not configured e-mail client by default. On my laptop when I click on link with "mailto:" opened browser with gmail
Using something like:
send mail
must work both in mobile and desktop.
mailto works both on mobiles and desktops.
Reference
The To attribute is not the only one that you can pre-set using mailto though. You can also have CC, BCC, Subject, Body...something like:
mailto:example#webki.com?cc=thisguy#thatsite.com, thatguy#thissite.com&bcc=someguy#mysite.com&subject=Happy%20New%20Year&body=Howdy
Example