We've noticed that your using IE6...

Internet Explorer 6 (your browser) was released on August 27, 2001, and since then a lot has changed. Unfortunately Internet Explorer 6 is no longer supported on our site, please upgrade your web browser now by going here. Thank you!

Sincerely,
The Custom Toll Free Team

Number Results

 Number Results - This unique form widget will present the results of a keyword search look-up in a predetermined space (box) allowing partners to develop unique applications that compliment directory, ecommerce and information web sites.

 

 



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 TFN Results Widget:

  • width: 250px
  • height: 125px
  • id: ctf_widget

Example:

Finally, the function get_ctf_vanities_by_domain(), 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 takes two arguments:

get_ctf_vanities_by_domain("trackcode", "search_term")

Where:

  • trackcode: is your unique Custom Toll Free Affiliate tracking code
  • search_term: is the keyword to search and display results for

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:

Copyright © 2012 Custom Toll Free | All Rights Reserved