Mobile Design - Call Button

Discussion in 'JavaScript' started by Biobob, May 8, 2012.

  1. #1
    Hello I am programming a mobile website, the client wants a button that says Call Now, which directs the users phone to call or attempt to dial the number...How can this be done? Any help would be so great, thanks
     
    Biobob, May 8, 2012 IP
  2. lockerzking

    lockerzking Greenhorn

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #2
    It would require vb.net coding
     
    lockerzking, May 9, 2012 IP
  3. Biobob

    Biobob Active Member

    Messages:
    119
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Is it hard? I cant find a script or something?
     
    Biobob, May 9, 2012 IP
  4. malky66

    malky66 Acclaimed Member

    Messages:
    3,997
    Likes Received:
    2,248
    Best Answers:
    88
    Trophy Points:
    515
    #4
    This is the easiest way:

    <a href="tel:18005551234" title="Click to call">Click to call</a>
    Code (markup):
    Obviously you will need to change the phone number to your own.
     
    malky66, May 10, 2012 IP
  5. sufalamtech

    sufalamtech Peon

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Agreed the answer of malky66, you can call the function from vb.net and make image of click to call and create the function with cell number.
     
    sufalamtech, May 31, 2012 IP