Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » [SOLVED] Stop Skype making phone numbers clickable


[SOLVED] Stop Skype making phone numbers clickable

Reply
  #1 (permalink)  
Old 06-07-08, 03:34 PM
s1yfa's Avatar
s1yfa s1yfa is offline
Newbie Coder
 
Join Date: Dec 2005
Location: Sheerness, Kent UK
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Stop Skype making phone numbers clickable

Hi,

Is there anyway to stop Skype making phone numbers clickable on my website? I want to be able to apply something to my html code to stop Skype picking up on these phone numbers as it messes up the way my page is displayed.

Its is very unlikely that Skype will be used to contact my company via our website, and if people really do want to use it, well they can always copy and paste the number!

Currently I just have the numbers typed in a cell of a table like this- T: +44 (0) 16** ***911. Skype also picks up our fax numbers too, and I dont want people trying to ring that!

thanks
__________________
Users /nm./: collective term for those who use computers.
Novice Users: people who are afraid that simply pressing a key might break their computer.
Intermediate Users: people who don't know how to fix their computer after they've just pressed a key that broke it.
Expert Users: people who break other people's computers.
Reply With Quote
  #2 (permalink)  
Old 06-08-08, 01:41 PM
s1yfa's Avatar
s1yfa s1yfa is offline
Newbie Coder
 
Join Date: Dec 2005
Location: Sheerness, Kent UK
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
ok, I have figured out a real simple solution to this. I use entity syntax to write out a phone number in the code, which is not recognisable by Skype but translates to regular numbers on the page, kinda like when you write &quot for quote marks.

For a full list of syntax see http://www.w3.org/MarkUp/html3/latin1.html

You can write anything in syntax so it cant be read by spambots -email for example - and other programs, but still looks like regular text once rendered on a webpage.

Hope this may be of use to others
__________________
Users /nm./: collective term for those who use computers.
Novice Users: people who are afraid that simply pressing a key might break their computer.
Intermediate Users: people who don't know how to fix their computer after they've just pressed a key that broke it.
Expert Users: people who break other people's computers.
Reply With Quote
  #3 (permalink)  
Old 06-09-08, 07:12 AM
therocket954's Avatar
therocket954 therocket954 is offline
Community Liaison
 
Join Date: Jul 2007
Location: Michigan, USA
Posts: 334
Thanks: 2
Thanked 8 Times in 8 Posts
Wow... very useful. Always encoded special characters to stick to standards, but I didn't even know you could encode everything.

Good link. Thanks!
__________________
--Eric Allison
Twitter: http://www.twitter.com/Eric_Allison
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP format phone numbers Larrywcc PHP 2 03-24-07 10:42 AM
I need Help validating Australian Phone numbers imparator JavaScript 2 07-25-06 07:20 AM


All times are GMT -5. The time now is 09:01 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.