This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The closing </script> and opening <script type="text/javascript"> is only need if pasting into Scripts N Styles Plugin. | |
</script> | |
<script type="text/javascript" id="armadillo-responsive-script" src="http://js.s3.dealertrend.com.s3.amazonaws.com/armadillo_responsive/armadillo_responsive.js"></script> | |
<script type="text/javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Move VDP Armadillo Columns | |
if (jQuery('#dealertrend-inventory-api #armadillo-detail').length){ | |
jQuery('#armadillo-detail').append(jQuery('.armadillo-column-middle')); | |
jQuery('#armadillo-detail').append(jQuery('.armadillo-column-left')); | |
jQuery('#armadillo-detail').append(jQuery('.armadillo-disclaimer')); | |
jQuery('.armadillo-column-left').attr('style','width:202px !important'); | |
jQuery('.armadillo-column-right').css({'margin-right': '18px'}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Removes New quick link on VLP */ | |
if (jQuery('#armadillo-listing').length){ | |
jQuery('#armadillo-quick-links .armadillo-expanded li').each(function(){ | |
if (jQuery(this).find('a').text().match(/new/i) != null){ | |
jQuery(this).css({'display':'none'}); | |
} | |
}); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Production steps of ECMA-262, Edition 5, 15.4.4.18 | |
// Reference: http://es5.github.com/#x15.4.4.18 | |
if ( !Array.prototype.forEach ) { | |
Array.prototype.forEach = function( callback, thisArg ) { | |
var T, k; | |
if ( this == null ) { | |
throw new TypeError( " this is null or not defined" ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(a,b){typeof define=="function"&&define.amd?define("json",["exports"],b):b(typeof exports=="object"&&exports||this.JSON||(this.JSON={}))})(this,function(a){var b={}.toString,c={}.hasOwnProperty,d,e,f;return e=typeof a.stringify=="function",f=typeof a.parse=="function",function(){var c='{"result":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}',d,g,h;if(e){d=function(){return 1},d.toJSON=d;try{switch(!1){case a.stringify(0)==="0":case a.stringify(new 0..constructor)==="0":case a.stringify(new"".constructor)=='""':case a.stringify(b)===void 0:case a.stringify(void 0)===void 0:case a.stringify()===void 0:case a.stringify(d)==="1":case a.stringify([d])=="[1]":case a.stringify([void 0])=="[null]":case a.stringify(null)=="null":case a.stringify([void 0,b,null])=="[null,null,null]":case a.stringify({result:[d,true,false,null,"\0\b\n\f\r "]})==c:case a.stringify(null,d)==="1":case a.stringify([1,2],null,1)=="[\n 1,\n 2\n]":case(d=new Date(-864e13)).getUTCFullYear()!=-271821||a.stringify(d)=='"-271821-04-20T00: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jQuery.browser.mobile (http://detectmobilebrowser.com/) | |
* | |
* jQuery.browser.mobile will be true if the browser is a mobile device | |
* | |
**/ | |
(function(a){jQuery.browser.mobile=/android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* VMS STYLE START Carousel */ | |
#inner .vms-widget.small, #inner .vms-widget.medium, #inner .vms-widget.large{ | |
width: 950px; | |
height: 121px; | |
} | |
.vms-widget.small .widget-area, .vms-widget.medium .widget-area, .vms-widget.large .widget-area{ | |
width: 950px; | |
height: 121px; | |
} | |
.vms-widget.small .widget-area .vms-widget-content, .vms-widget.medium .widget-area .vms-widget-content, .vms-widget.large .widget-area .vms-widget-content{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (jQuery('#dealertrend-inventory-api #armadillo-detail').length){ | |
var new_phone_number = '(###) ###-####' | |
jQuery('.armadillo-contact-information p').each(function(){ | |
if (jQuery(this).text().match(/phone/i) != null){ | |
jQuery(this).children('strong').text(new_phone_number); | |
} | |
}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
var head, script, siteid, domain, internal, mobilesite; | |
siteid = 20755; | |
domain = new RegExp('jimmcnatttoyota.com', 'i'); | |
mobilesite = 'http://m.jimmcnatttoyota.com'; | |
head = document.getElementsByTagName('head')[0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (jQuery('#staff-listing').length){ | |
jQuery('body').attr('class', jQuery('body').attr('class').replace('home','')); // removes home class from body | |
jQuery('#inner-wrap').attr('style','margin-top: 0px;'); // fix for background style | |
jQuery('#staff-listing').attr('style','background: none;'); // removes white background from staff listing | |
} |
NewerOlder