A jQuery plugin and Phono add-on that makes it easy to drop a callme button directly into any webpage with just a few lines of code.
- Phono jQuery Plugin
- Phono API Key. Get one here
The callme plugin uses the jQuery UI theme classes for styling the callme button and dialpad etc.
$("body").append(
$("<div/>")
.css({"width":"220px"})
.callme({
apiKey: "C17D167F-09C6-4E4C-A3DD-2025D48BA243",
numberToDial: "8007773456",
buttonTextReady: "1-800-777-FILM",
slideOpen:true
})
)
- apiKey: String, your Phono.com api key. Get one here
- dialPad: Boolean, defaults to true. Include a dial pad
- toggleMic: Boolean, defaults to true. Show a checkbox where users can specify whether or not they are wearing a headset
- slideOpen: Boolean, defaults to true. Slide open the dial pad and mic toggle when the call button is clicked
- buttonText: String, defaults to "loading...". Text to display in the call button while the phone is loading
- buttonTextReady: String, defaults to "Call me". Text to display in the call button when the "phone" is ready
- numberToDial: String, defaults to a demo IVR application hosted at tropo.com.
Set this to the phone number, Tropo appid, or sip number you want to call