a href tel and standard browsers

tophacker

New Member
I have a project that requires \[code\]<a href="http://stackoverflow.com/questions/14456387/tel:123456">\[/code\] over the phone number (123456 is not the number) however this will cause an issue for everything except mobile browsers by being unable to interpret the \[code\]tel:\[/code\] bit. I have tried to use jQuery to add the href attr when a browser width is <1000px but this is a very unreliable method (tablets also have a limited resolution).Any ideas on how to overcome this would be greatly appreciated. I am using PHP, jQuery and Javascript.Thanks, Dan
 
Back
Top