<a link and <mailto: link do not work ... why ?
-
Hello,
This is my first test on developing on monaca.io … i seached on forum and nothing found about
My code is below … why the links do not work ??
thanks in advance
Marcos
www.conteudoanimal.com.br<html> <body> <center> <img src="vet.jpg" width="100%" height="50%"> <br><br> Daniel Checchinato<br><br> Telefone: <a href="tel:1145210959">(11) 4521-0959</a><br><br> <a href="mailto:contato@veterinariachecchinato.com.br?Subject=Contato via Site">Email </a><br><br> Clique no mapa em "Rotas" para chegar aqui: <iframe style="border: 0;" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3668.133840506161!2d-46.90971484913011!3d-23.165314752897224!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94cf25de0bcbcdb7%3A0x8958442ce3529f90!2sAv.+Pref.+Jos%C3%A9+de+Castro+Marcondes%2C+260+-+Jardim+Currupira%2C+Jundia%C3%AD+-+SP%2C+13214-296!5e0!3m2!1sen!2sbr!4v1489165465291" width="100%" height="100%" frameborder="0" allowfullscreen="allowfullscreen"></iframe> </center> </body> </html>
-
I used this code and it worked for me
var subject = "news!"; var txt = "this is great news"; window.location.href = "mailto:"+ "?subject=" + encodeURIComponent(subject) + "&body=" + encodeURIComponent(txt);
-
-
Put it in the function being called on link click,
<a href="#" onclick="mailingfunction(event)" > click to mail </a> <script> mailingfunction(e){ e.preventDefault(); // then the above code. } </script>
-
-
@Marcos-Marcondes if you mean deep linking you should have a look at this Cordova plugin.
-
I used Intel XDK … and a used inbrowser app and all set for cordova and not worked as intel xdk
I dont use intel xdk because it stops cloud compiling …
Im trying others tools to cover the hole :(((thnaks in advance !