Good news! Custom Toll Free is currently upgrading toll free number search to show even more vanity number results. Please fill out this form and let us provide a customized search for you!
Search & Results – This simple form allows someone to enter a search term from your page and the Search button will leave them on your site to choose the number they want. Fast and accurate results of the keyword search is presented in the same form. One click on the number of their choice and the set up page appears to register them as users of the vanity toll free number.
Become a Custom Toll Free Affiliate – Sign up now!
To install the widget in a webpage, three pieces of code appear – a script definition, a <div> element to contain the widget, and a script which loads the widget.
The following script definition should appear in the <head> section of the HTML document.
<script src="http://www.customtollfree.com/javascripts/widget.js" language="javascript" type="text/javascript"></script>
A <div> element, which will contain the widget must be defined, although it will have no content. The sizing is important for the correct display of the widget, and must be defined. In the code below, the style definition is given using inline CSS, although an external stylesheet may be used.
Further, the ID of the <div> element must be given exactly as shown. The Javascript function which loads the content of the widget will look for an element with a specific ID.
For the Search & Results Widget:
Example:
<div id="ctf_widget_search" style="border: 1px solid gray;padding: 0px;width: 250px; height: 125px; background-color: #FFFFFF;"> </div>
Finally, the function get_ctf_vanities_by_domain_search(), defined in the file widget.js included in the <head> section, must be executed. Executing this function loads the content into the widget's <div> element.
The function get_ctf_vanities_by_domain_search takes two arguments:
get_ctf_vanities_by_domain_search("trackcode", "search_term")
Where:
For example, if your tracking code is partner123, and you want to display toll-free numbers with the word coffee, include the following script after the <div> element in your HTML document:
<script language="javascript" type="text/javascript"> get_ctf_vanities_by_domain_search("partner123", "coffee"); </script>