Skip to content

Website button that allows visitors to call the website owner in there browser.

License

Notifications You must be signed in to change notification settings

TaylorHawkes/clicktocall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RingRoost ClickToCall

RingRoost ClickToCall is a html button that allows website visitors to call you directly from their browser. The button can be installed on any website, and is currently compatible with all major browsers (Chrome, Firefox, IE, Safari, Opera).

You can see a working example at: https://www.ringroost.com/click2call.php

Installation

Step 1. Include JS/CSS Files in page head

``` <script src="SIPml-api.js" type="text/javascript"> </script> <script src="rr_clicktocall.js" type="text/javascript"> </script> ```

Step 2. Add the html div tag with id "ringroost_c2c"

Add the following div tag in your html wherever you want the button to show up. ```
```

Step 3. Set Required Properties

Required properties

id Must be set to "ringroost_c2c"
call Telephone number that will button will call when pressed.
text This is the text that will be shown in your button.

Optional properties

notsupported_text What to display in case that a browser is not compatible with the button. You may embed html in the attribute.
class (rr_grey| rr_red|rr_blue|rr_green|rr_black|rr_yellow|rr_purple|rr_gblue|rr_button1) You can set a class on the div in order to change it’s appearance. Button styles correspond (roughly) to these buttons: http://www.joepettersson.com/demo/css3-buttons

Note: If you have your own SIP server/gateway your welcome to integrate this clicktocall button with that. You will need change the appropriate setting in "rr_clicktocall.js" (this is kinda advanced, so make sure you know what you are doing).

About

Website button that allows visitors to call the website owner in there browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published