PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
Ultimate_VC_Addons
/
assets
/
js
(function($) { $(document).ready(function(){ $(document).on("mouseenter", ".ultimate-call-to-action", function() { $(this).addClass('ultimate-call-to-action-hover'); var hover = $(this).data('background-hover'); $(this).css({'background-color':hover}); }); $(document).on("mouseleave", ".ultimate-call-to-action", function() { $(this).removeClass('ultimate-call-to-action-hover'); var background = $(this).data('background'); $(this).css({'background-color':background}); }); resize_call_to_action(); $(window).resize(function(){ resize_call_to_action(); }); }); function resize_call_to_action() { $('.ultimate-call-to-action').each(function(i,element){ var override = $(element).data('override'); if(override != 0) { $(element).css({'margin-left' : 0 }); var is_relative = 'true'; if($(element).parents('.wpb_row').length > 0) var ancenstor = $(element).parents('.wpb_row'); else if($(element).parents('.wpb_column').length > 0) var ancenstor = $(element).parents('.wpb_column'); else var ancenstor = $(element).parent(); var parent = ancenstor; if(override=='full'){ ancenstor= $('body'); is_relative = 'false'; } if(override=='ex-full'){ ancenstor= $('html'); is_relative = 'false'; } if( ! isNaN(override)){ for(var i=1;i<=override;i++){ if(ancenstor.prop('tagName')!='HTML'){ ancenstor = ancenstor.parent(); }else{ break; } } } var w = ancenstor.outerWidth(); var element_left = $(element).offset().left; var element_left_pos = $(element).position().left; var holder_left = ancenstor.offset().left; var holder_left_pos = ancenstor.position().left; var calculate_left = holder_left - element_left; if(override!='full' && override!='ex-full') { calculate_left = holder_left - holder_left_pos; } $(element).css({'width':w, 'margin-left' : calculate_left }); } }); } }( jQuery ));
[+]
..
[-] jquery-appear.js
[edit]
[-] easy-ticker.js
[edit]
[-] info-box.js
[edit]
[-] mb-YTPlayer.js
[edit]
[-] tabs.js
[edit]
[-] tooltip.js
[edit]
[-] range-slider.js
[edit]
[-] jquery.sticky-kit.js
[edit]
[-] highlight-box.js
[edit]
[-] jparallax.js
[edit]
[-] slick-custom.js
[edit]
[-] vc-inline-editor.js
[edit]
[-] ultimate_bg.js
[edit]
[-] info-circle.js
[edit]
[-] index.php
[edit]
[-] video-banner.js
[edit]
[-] expandable-section.js
[edit]
[-] vc-fronteditor.js
[edit]
[-] classie.js
[edit]
[-] info-banner.js
[edit]
[-] modal.js
[edit]
[-] teams.js
[edit]
[-] hotspot.js
[edit]
[-] jquery-ui-labeledslider.js
[edit]
[-] swatchbook.js
[edit]
[-] video_module.js
[edit]
[-] snap-svg.js
[edit]
[-] masonry.js
[edit]
[-] vhparallax.js
[edit]
[-] custom.js
[edit]
[-] typed.js
[edit]
[-] fixto.js
[edit]
[-] count-timer.js
[edit]
[-] dual-button.js
[edit]
[-] modernizr-custom.js
[edit]
[-] jquery-ui-effect.js
[edit]
[-] ihover.js
[edit]
[-] range-slider-touch-punch.js
[edit]
[-] content-box.js
[edit]
[-] creative-link.js
[edit]
[-] bootstrap-datetimepicker.js
[edit]
[-] jquery-ui.js
[edit]
[-] ultimate-params.js
[edit]
[-] countUp.js
[edit]
[-] hotspot-tooltipster.js
[edit]
[-] tabs-accordion.js
[edit]
[-] countdown.js
[edit]
[-] slick.js
[edit]
[-] vc_column.js
[edit]
[-] headings.js
[edit]
[-] froogaloop2-min.js
[edit]
[-] sticky-section.js
[edit]
[-] image-separator.js
[edit]
[-] flip-box.js
[edit]
[-] SmoothScroll-compatible.js
[edit]
[-] SmoothScroll.js
[edit]