Nasz zespół specjalistów pracuje na najwyższej klasy sprzęcie do diagnostyki min:
-Bosch
-Kts
- Vellon
-UPA
- Tango
357699
cropped-chip-tuning.jpg
vw-immobilizer
var $PlayCondition = 1; var c_slider1;
init_c_slider1 = function (containerId) {
switch(reslider1["params"]["effect"]["type"]) { case 0: var reslide_effect = {$Duration:reslider1["params"]["effect"]["duration"],$Opacity:2,$Brother:{$Duration:1000,$Opacity:2}}; break; case 1: reslide_effect = {$Duration:reslider1["params"]["effect"]["duration"],x:-0.3,y:0.5,$Zoom:1,$Rotate:0.1,$During:{$Left:[0.6,0.4],$Top:[0.6,0.4],$Rotate:[0.6,0.4],$Zoom:[0.6,0.4]},$Easing:{$Left:$JssorEasing$.$EaseInQuad,$Top:$JssorEasing$.$EaseInQuad,$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInQuad},$Opacity:2,$Brother:{$Duration:1000,$Zoom:11,$Rotate:-0.5,$Easing:{$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInQuad},$Opacity:2,$Shift:200}}; break; case 2: reslide_effect = {$Duration:reslider1["params"]["effect"]["duration"],x:0.25,$Zoom:1.5,$Easing:{$Left:$JssorEasing$.$EaseInWave,$Zoom:$JssorEasing$.$EaseInSine},$Opacity:2,$ZIndex:-10,$Brother:{$Duration:1400,x:-0.25,$Zoom:1.5,$Easing:{$Left:$JssorEasing$.$EaseInWave,$Zoom:$JssorEasing$.$EaseInSine},$Opacity:2,$ZIndex:-10}} break; case 3: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:0.5,$Cols:2,$ChessMode:{$Column:3},$Easing:{$Left:$JssorEasing$.$EaseInOutCubic},$Opacity:2,$Brother:{$Duration:1500,$Opacity:2}} break; case 4: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:-0.1,y:-0.7,$Rotate:0.1,$During:{$Left:[0.6,0.4],$Top:[0.6,0.4],$Rotate:[0.6,0.4]},$Easing:{$Left:$JssorEasing$.$EaseInQuad,$Top:$JssorEasing$.$EaseInQuad,$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInQuad},$Opacity:2,$Brother:{$Duration:1000,x:0.2,y:0.5,$Rotate:-0.1,$Easing:{$Left:$JssorEasing$.$EaseInQuad,$Top:$JssorEasing$.$EaseInQuad,$Opacity:$JssorEasing$.$EaseLinear,$Rotate:$JssorEasing$.$EaseInQuad},$Opacity:2}} break; case 5: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:-1,y:-0.5,$Delay:50,$Cols:8,$Rows:4,$Formation:$JssorSlideshowFormations$.$FormationSquare,$Easing:{$Left:$JssorEasing$.$EaseSwing,$Top:$JssorEasing$.$EaseInJump},$Assembly:260,$Round:{$Top:1.5}} break; case 6: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],$Delay:30,$Cols:8,$Rows:4,$Clip:15,$SlideOut:true,$Formation:$JssorSlideshowFormations$.$FormationStraightStairs,$Easing:$JssorEasing$.$EaseOutQuad,$Assembly:2049} break; case 7: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:-1,$Easing:$JssorEasing$.$EaseInQuad}; break; case 8: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:1,$Easing:$JssorEasing$.$EaseInQuad}; break; case 9: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],y:-1,$Easing:$JssorEasing$.$EaseInQuad}; break; case 10: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],y:1,$Easing:$JssorEasing$.$EaseInQuad}; break; case 11: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:-1,y:2,$Rows:2,$Zoom:11,$Rotate:1,$ChessMode:{$Row:15},$Easing:{$Left:$JssorEasing$.$EaseInCubic,$Top:$JssorEasing$.$EaseInCubic,$Zoom:$JssorEasing$.$EaseInCubic,$Opacity:$JssorEasing$.$EaseOutQuad,$Rotate:$JssorEasing$.$EaseInCubic},$Assembly:2049,$Opacity:2,$Round:{$Rotate:0.8}}; break; case 12: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],x:2,y:1,$Cols:2,$Zoom:11,$Rotate:1,$ChessMode:{$Column:15},$Easing:{$Left:$JssorEasing$.$EaseInCubic,$Top:$JssorEasing$.$EaseInCubic,$Zoom:$JssorEasing$.$EaseInCubic,$Opacity:$JssorEasing$.$EaseOutQuad,$Rotate:$JssorEasing$.$EaseInCubic},$Assembly:2049,$Opacity:2,$Round:{$Rotate:0.7}}; break; case 13: reslide_effect ={$Duration:reslider1["params"]["effect"]["duration"],$Zoom:11,$Easing:{$Zoom:$JssorEasing$.$EaseInCubic,$Opacity:$JssorEasing$.$EaseOutQuad},$Opacity:2}; break; };
var _SlideshowTransitions = [ reslide_effect ]; if(!reslider1['params']['thumbnails']['positioning']) { var thumbnailsCount = Math.ceil(reslider1.count-1); } else { var thumbnailsCount = Math.ceil(reslider1.count); } var options = { $AutoPlay: (reslider1["params"]["autoplay"]==1)?true:false, //[Optional] Whether to auto play, to enable slideshow, this option must be set to true, default value is false $SlideDuration: 500, $PauseOnHover: reslider1["params"]["pauseonhover"], $AutoPlayInterval: reslider1["params"]["effect"]["interval"], //$AutoPlaySteps : -1, //[Optional] Specifies default duration (swipe) for slide in milliseconds, default value is 500
$BulletNavigatorOptions: { //[Optional] Options to specify and enable navigator or not $Class: $JssorBulletNavigator$, //[Required] Class to create navigator instance $ChanceToShow: reslider1["params"]["bullets"]["show"], //[Required] 0 Never, 1 Mouse Over, 2 Always $AutoCenter: reslider1["params"]["bullets"]["autocenter"], //[Optional] Auto center navigator in parent container, 0 None, 1 Horizontal, 2 Vertical, 3 Both, default value is 0 $Steps: 1, //[Optional] Steps to go for each navigation request, default value is 1 $Rows: reslider1["params"]["bullets"]["rows"], //[Optional] Specify lanes to arrange items, default value is 1 $SpacingX: reslider1["params"]["bullets"]["s_x"], //[Optional] Horizontal space between each item in pixel, default value is 0 $SpacingY: reslider1["params"]["bullets"]["s_y"], //[Optional] Vertical space between each item in pixel, default value is 0 $Orientation: reslider1["params"]["bullets"]["orientation"] //[Optional] The orientation of the navigator, 1 horizontal, 2 vertical, default value is 1 }, $ArrowNavigatorOptions: { //[Optional] Options to specify and enable arrow navigator or not $Class: $JssorArrowNavigator$, //[Requried] Class to create arrow navigator instance $ChanceToShow: reslider1["params"]["arrows"]["show"], //[Required] 0 Never, 1 Mouse Over, 2 Always $AutoCenter: 2, //[Optional] Auto center arrows in parent container, 0 No, 1 Horizontal, 2 Vertical, 3 Both, default value is 0 $Steps: 1 //[Optional] Steps to go for each navigation request, default value is 1 }, $SlideshowOptions: { //[Optional] Options to specify and enable slideshow or not $Class: $JssorSlideshowRunner$, //[Required] Class to create instance of slideshow $Transitions: _SlideshowTransitions, //[Required] An array of slideshow transitions to play slideshow $TransitionsOrder: 1, //[Optional] The way to choose transition to play slide, 1 Sequence, 0 Random $ShowLink: true //[Optional] Whether to bring slide link on top of the slider when slideshow is running, default value is false } , $ThumbnailNavigatorOptions: { $Class: $JssorThumbnailNavigator$, //[Required] Class to create thumbnail navigator instance $ChanceToShow: reslider1["params"]["thumbnails"]["show"], //[Required] 0 Never, 1 Mouse Over, 2 Always $ActionMode: 1, //[Optional] 0 None, 1 act by click, 2 act by mouse hover, 3 both, default value is 1 $AutoCenter: 0, //[Optional] Auto center thumbnail items in the thumbnail navigator container, 0 None, 1 Horizontal, 2 Vertical, 3 Both, default value is 3 $Rows: 1, //[Optional] Specify lanes to arrange thumbnails, default value is 1 $SpacingX: 3, //[Optional] Horizontal space between each thumbnail in pixel, default value is 0 $SpacingY: 3, //[Optional] Vertical space between each thumbnail in pixel, default value is 0 $Cols: thumbnailsCount, //[Optional] Number of pieces to display, default value is 1 $ParkingPosition: 0, //[Optional] The offset position to park thumbnail $Orientation: 1, //[Optional] Orientation to arrange thumbnails, 1 horizental, 2 vertical, default value is 1 $NoDrag: false //[Optional] Disable drag or not, default value is false }
};
c_slider1 = new $JssorSlider$(containerId, options); }
jQuery(function($){
(function initReslideSlider() {
/*** ####bullets#### ***/
switch(+reslider1["params"]["bullets"]["position"]) { case 0: reslider1["params"]["bullets"]["autocenter"] = 0; var css_bullets_obj = {"left":reslider1["params"]["bullets"]["style"]["position"]["left"],"top":reslider1["params"]["bullets"]["style"]["position"]["top"]}; var css_bullets= "left:"+reslider1["params"]["bullets"]["style"]["position"]["left"]+";top:"+reslider1["params"]["bullets"]["style"]["position"]["top"]; break; case 1: reslider1["params"]["bullets"]["autocenter"] = 1; var css_bullets_obj = {"right":"","top":reslider1["params"]["bullets"]["style"]["position"]["top"],"left":"","bottom":""}; var css_bullets = "top:"+reslider1["params"]["bullets"]["style"]["position"]["top"]; break; case 2: reslider1["params"]["bullets"]["autocenter"] = 0; var css_bullets_obj = {"right":reslider1["params"]["bullets"]["style"]["position"]["right"],"top":reslider1["params"]["bullets"]["style"]["position"]["top"]}; var css_bullets = "right:"+reslider1["params"]["bullets"]["style"]["position"]["right"]+";top:"+reslider1["params"]["bullets"]["style"]["position"]["top"]; break; case 3: reslider1["params"]["bullets"]["autocenter"] = 2; var css_bullets_obj = {"right":"","top":"","left":reslider1["params"]["bullets"]["style"]["position"]["left"],"bottom":""}; var css_bullets = "left:"+reslider1["params"]["bullets"]["style"]["position"]["left"]; break; case 4: reslider1["params"]["bullets"]["autocenter"] = 3; var css_bullets_obj = {"right":"","top":"","left":"","bottom":""}; var css_bullets = ""; break; case 5: reslider1["params"]["bullets"]["autocenter"] = 2; var css_bullets_obj = {"right":reslider1["params"]["bullets"]["style"]["position"]["right"],"top":"","left":"","bottom":""}; var css_bullets = "right:"+reslider1["params"]["bullets"]["style"]["position"]["right"]; break; case 6: reslider1["params"]["bullets"]["autocenter"] = 0; var css_bullets_obj = {"left":reslider1["params"]["bullets"]["style"]["position"]["left"],"bottom":reslider1["params"]["bullets"]["style"]["position"]["bottom"]}; var css_bullets = "left:"+reslider1["params"]["bullets"]["style"]["position"]["left"]+";bottom:"+reslider1["params"]["bullets"]["style"]["position"]["bottom"]; break; case 7: reslider1["params"]["bullets"]["autocenter"] = 1; var css_bullets_obj = {"left":"","bottom":reslider1["params"]["bullets"]["style"]["position"]["bottom"],"right":""}; var css_bullets = "bottom:"+reslider1["params"]["bullets"]["style"]["position"]["bottom"]; break; case 8: reslider1["params"]["bullets"]["autocenter"] = 0; var css_bullets_obj = {"left":"","bottom":reslider1["params"]["bullets"]["style"]["position"]["bottom"],"right":reslider1["params"]["bullets"]["style"]["position"]["right"]}; var css_bullets = "bottom:"+reslider1["params"]["bullets"]["style"]["position"]["bottom"]+";right:"+reslider1["params"]["bullets"]["style"]["position"]["right"]; break; } _reslide.find('#slider1_container','.reslide_navigator')[0].addStyle(css_bullets); if(reslider1.count) { var thubmnailCWidth = jQuery('.reslide-thumbnail1').width(); var thumbWidth = thubmnailCWidth/reslider1.count; if(reslider1['params']['thumbnails']['positioning']) jQuery('.reslide-thumbnail1 .c,.reslide-thumbnail1 .p,.reslide-thumbnail1 .w').width(thumbWidth-4); else { jQuery('.reslide-thumbnail1 .c,.reslide-thumbnail1 .p,.reslide-thumbnail1 .w').width(58); jQuery('.reslide-thumbnail1 .w').width(56); jQuery('.reslide-thumbnail1 > div').css('max-width',(jQuery('.reslide-thumbnail1').width()-20)+'px');//width(58); var walk = jQuery('.reslide-thumbnail1').width()-20; var walkcount = Math.floor(walk/61)-1; walk = walkcount* 61-3; jQuery('.reslide-thumbnail1 > div').css('max-width',walk+'px'); } } jQuery('#slider1_container .reslide_slides img').css('display','block');
init_c_slider1("slider1_container");
})(); function ScaleSlider() { var parentWidth = $('#slider1_container').parent().width(); jQuery('#slider1_container').css('display','block');
if (parentWidth) {
if(parentWidth < reslider1['style']['width']) { c_slider1.$ScaleWidth(parentWidth); jQuery('#slider1_container > div').css('overflow','hidden');
} else { c_slider1.$ScaleWidth(reslider1['style']['width']); } } else window.setTimeout(ScaleSlider, 10); } $(window).bind("load", ScaleSlider); $(window).bind("resize", ScaleSlider); $(window).bind("orientationchange", ScaleSlider);
//responsive code end jQuery('.reslide_arrow_left').off('click'); jQuery('.reslide_arrow_left').on('click',function(){ c_slider1.$NextPlay(); }); jQuery('.reslide_arrow_right').click(function(){ c_slider1.$PrevPlay(); }); });
if(reslider1['params']['behavior'] === 0){
jQuery('#slider1_container img[class*=image_]').each(function () { jQuery(this).css({ height: '100%', width: '100%' }); }); } else if(reslider1['params']['behavior'] === 1){ jQuery('#slider1_container img[class*=image_]').each(function () { var naturalWidth = jQuery(this).prop('naturalWidth'), naturalHeight = jQuery(this).prop('naturalHeight'), contWidth = '1400', contHeight = '780', naturalRatio = naturalWidth / naturalHeight, defaultRatio = contWidth / contHeight;
if(naturalRatio > defaultRatio){ jQuery(this).css({ width: '100%', top: '50%', transform: 'translateY(-50%)', position: 'relative' }); } else { jQuery(this).css({ height: '100%', left: '50%', transform: 'translateX(-50%)', position: 'relative' }); }
}); } else if(reslider1['params']['behavior'] === 2){ jQuery('#slider1_container img[class*=image_]').each(function () { var naturalWidth = jQuery(this).prop('naturalWidth'), naturalHeight = jQuery(this).prop('naturalHeight'), contWidth = '1400', contHeight = '780', naturalRatio = naturalWidth / naturalHeight, defaultRatio = contWidth / contHeight; jQuery(this).css({ position: "absolute", maxWidth: "none" });
if (naturalRatio <= defaultRatio) { jQuery(this).css({ width: '100%', top: '50%', transform: 'translateY(-50%)' }); } else { jQuery(this).css({ height: '100%', left: '50%', transform: 'translateX(-50%)' }); } }); }