Skip to content

Instantly share code, notes, and snippets.

<iframe src="http://player.vimeo.com/video/51523549" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<iframe src="http://player.vimeo.com/video/51523193" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<iframe src="http://player.vimeo.com/video/51523192" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
.cwTechnicalMessage{
display:none;
}
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / ApplyForFinancePreApprovalForm.xml
Created July 19, 2012 10:59
Apply For Finance - Pre Approval Form Example
<form name="proliteSubmit" action="https://proposalform.yourcarloan.co.uk/index.aspx" method="post">
<input type="hidden" name="siteId" id="siteId" value="" />
<input type="hidden" name="returnUrl" id="returnUrl" value="" />
<input type="hidden" name="preApproval" id="preApproval" value="true" />
<input type="submit" value="Apply For Finance" />
</form>
<a href="https://forms.yourcarloan.co.uk/quote/UNIQUE_CODEWEAVERS_QUOTE_ID/apply">Apply For Finance</a>
<QuoteReference>https://forms.yourcarloan.co.uk/quote/UNIQUE_CODEWEAVERS_QUOTE_ID</QuoteReference>
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / FinancePluginOverridingtheFunctionality.xml
Last active October 7, 2015 06:57
Finance Plugin - Overriding the Functionality
<script type='text/javascript'>
function integratorsEmailFunction(DATA) {
...
}
function loadPlugin() {
var pluginOptions = function () {
...
};
var pluginParameters = {
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / FinacePluginAssociateDealers.xml
Created July 16, 2012 14:22
Finance Plugin - Associate Dealers
function loadPlugin() {
var pluginOptions = function () {
return {
vehicle: {
...
},
dealer: 'ASSOCIATED DEALER NAME'
};
};
@cox-auto-inc-codeweavers
cox-auto-inc-codeweavers / FinancePluginUsedVehicleRequiredParameters.xml
Created July 16, 2012 14:19
Finance Plugin - Used Vehicle Required Parameters
vehicle: { type: 'TYPE',
identifierType: 'IDENTIFIER_TYPE',
identifier: 'IDENTIFIER',
isNew: IS_NEW,
cashPrice: 'CASH_PRICE',
imageUrl: 'IMAGE_URL',
linkBackUrl: 'LINK_BACK_URL',
mileage: 'CURRENT_MILEAGE',
registration: {
year: REGISTRATION_YEAR,