Keyword Search

Search Now:

Keyword Search – The search widget is a small tool for your website to return the numbers your customers are looking for right away. Customers enter a word or phrase on a customized widget from your web site, launching a search of Custom Toll Free's database of numbers containing that word or phrase, returning six results on your web page. This tool is useful for domain providers to find vanity numbers that match the domain.

 

 

Become a Custom Toll Free Affiliate – Sign up now!


Download Instructions

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.

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 Keyword Search Widget:

  • width: 250px
  • height: 60px
  • id: ctf_form_widget

Example:

Finally, the function get_form_widget(), 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_form_widget takes one argument:

get_form_widget("trackcode")

Where:

  • trackcode: is your unique Custom Toll Free Affiliate tracking code

For example, if your tracking code is partner123, include the following script after the <div> element in your HTML document: