Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By Vapr_Arts

Thread: Combine http://TEL: and Span class code

  1. #1
    Junior Member
    Join Date
    Aug 2015
    Posts
    2
    Member #
    51485

    Combine http://TEL: and Span class code

    Hi,

    Can anyone help me...
    I have been asked to replace all contact phone numbers on a website and use the following code:
    <span class="AVANSERnumber"> 09 969 5577</span>

    The issue i have is one of the codes i have used is : <a href="tel:006499695577">Click HERE to Call us now:</a>
    Can anyone provide me with a code that will work where i can use the new code and also have it clickable to dial.

  2.  

  3. #2
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    Quote Originally Posted by designworx View Post
    Hi,

    Can anyone help me...
    I have been asked to replace all contact phone numbers on a website and use the following code:
    <span class="AVANSERnumber"> 09 969 5577</span>

    The issue i have is one of the codes i have used is : <a href="tel:006499695577">Click HERE to Call us now:</a>
    Can anyone provide me with a code that will work where i can use the new code and also have it clickable to dial.
    Im not sure i understand the question? But if they want the span div to be clickable put it in an anchor tag? Like this?

    Code:
    <a href="tel:099695577"><span class="AVANSERnumber">09 969 5577</span></a>

    Sent from my iPhone using Tapatalk

  4. #3
    Senior Member timbo89's Avatar
    Join Date
    May 2015
    Location
    Adelaide, South Australia
    Posts
    126
    Member #
    49722
    Liked
    26 times
    Quote Originally Posted by Vapr_Arts View Post
    Im not sure i understand the question? But if they want the span div to be clickable put it in an anchor tag? Like this?

    Code:
    <a href="tel:099695577"><span class="AVANSERnumber">09 969 5577</span></a>

    Sent from my iPhone using Tapatalk

    If you're going to do a span over everything inside the a tag, you should just set the class on the link;
    Code:
    <a href="tel:099695577" class="AVANSERnumber">09 969 5577</a>

  5. #4
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    Quote Originally Posted by timbo89 View Post
    If you're going to do a span over everything inside the a tag, you should just set the class on the link;
    Code:
    <a href="tel:099695577" class="AVANSERnumber">09 969 5577</a>
    I agree completely i just copy and pasted what he wrote without thinking twice.


    Sent from my iPhone using Tapatalk
    timbo89 likes this.

  6. #5
    Junior Member
    Join Date
    Aug 2015
    Posts
    2
    Member #
    51485
    Awesome.... Thank you guys for all your help on this, works well.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:32 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com