Skip to content
forked from tropo/callme

Phono add-on and jQuery plugin to easily render a callme button in any web page

Notifications You must be signed in to change notification settings

netconstructor/callme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

Requires:

Themeing/Styling

The callme plugin uses the jQuery UI theme classes for styling the callme button and dialpad etc.

Example:

$("body").append(
	$("<div/>")
    	.css({"width":"220px"})
    	.callme({
    		apiKey: "C17D167F-09C6-4E4C-A3DD-2025D48BA243",
    		numberToDial: "8007773456",
    		buttonTextReady: "1-800-777-FILM",
    		slideOpen:true
    	})
)

Options:

  • 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

Demo:

http://s.phono.com/releases/0.2/samples/callme/index.htm.

Contact:

Twitter | http://www.phono.com

About

Phono add-on and jQuery plugin to easily render a callme button in any web page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published