AIS Rebates - Rebate and Incentive Specialists

Incentive Module Integration

The “Incentive Details” Button brings up the inline pop-up. Consumers simply click the link and the Incentive Details page opens over the Dealer Home Page.
  • The default ZIP Code for the information is that of the Dealer.
  • Information shows as “Incentives for XXX County, XX State.
  • Consumers have the option of entering a different ZIP Code to change Geography.
AIS Rebates - Incentive Module


IMPORTANT NOTES TO WEB DEVELOPERS:
In order for the lightbox pop up to function properly, 2 very important pieces of code must also be included in your HTML document:

1. A document type must be declared at the top of the page, for example:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Without a document type declaration, the pop up window will not display correctly in Internet Explorer.

2.  The following code must be included in the head of your HTML document:

<!-- AIS Inline Code: Start -->
         <!-- CSS for lightwindow-->
    <link rel="stylesheet" type="text/css" href="http://onecar.aisrebates.com/dlr2/inline/css/lightwindow.css"/>   
         <!-- JavaScript for lightwindow-->
         <script type="text/javascript" src="http://onecar.aisrebates.com/dlr2/inline/js/prototype.js"></script>
         <script type="text/javascript" src="http://onecar.aisrebates.com/dlr2/inline/js/effects.js"></script>
         <script type="text/javascript" src="http://onecar.aisrebates.com/dlr2/inline/js/lightwindow.js"></script>

<!-- AIS Inline Code: Stop -->
This code provides links to the scripts required for the lightbox pop-up to function.

To activate the “Incentive Details” lightbox pop-up script with a button on the vehicle details page, simply imbed the following as near the Factory Cash amount as possible.

NOTE: Web Developer must populate the “vID” variable with the VIN of the vehicle involved.

<!-- AIS Inline Link: Start -->
<a href="http://onecar.aisrebates.com/dlr2/inline/IncentiveOutput.php? vID=[replace these brackets with a VIN]&wID=[replace these brackets with dealers wID]&zID=[replace these brackets with a zipcode] " class="lightwindow page-options" params="lightwindow_width=750,lightwindow_height=600,lightwindow_type=external"/>Incentive Details</a>

<!-- AIS Inline Link: Stop -->
AIS - Rebates and Incentive Experts
© 2010 Automotive Information Systems