golden hour
/var/www/html/wp-content/plugins/Ultimate_VC_Addons/assets/js
⬆️ Go Up
Upload
File/Folder
Size
Actions
SmoothScroll-compatible.js
23.59 KB
Del
OK
SmoothScroll.js
11.18 KB
Del
OK
bootstrap-datetimepicker.js
48.95 KB
Del
OK
classie.js
2.44 KB
Del
OK
content-box.js
3.62 KB
Del
OK
count-timer.js
7.16 KB
Del
OK
countUp.js
6.03 KB
Del
OK
countdown-dependent.js
5.69 KB
Del
OK
countdown.js
34.48 KB
Del
OK
creative-link.js
3.04 KB
Del
OK
custom.js
36.61 KB
Del
OK
dual-button.js
21.72 KB
Del
OK
easy-ticker.js
4.38 KB
Del
OK
expandable-section.js
11.06 KB
Del
OK
fixto.js
24.9 KB
Del
OK
flip-box.js
8.48 KB
Del
OK
froogaloop2-min.js
1.73 KB
Del
OK
headings.js
4.68 KB
Del
OK
highlight-box.js
2.07 KB
Del
OK
hotspot-tooltipster.js
45.76 KB
Del
OK
hotspot.js
3.71 KB
Del
OK
ihover.js
2 KB
Del
OK
image-separator.js
623 B
Del
OK
index.php
86 B
Del
OK
info-banner.js
1.1 KB
Del
OK
info-box.js
609 B
Del
OK
info-circle.js
19.89 KB
Del
OK
jparallax.js
8.78 KB
Del
OK
jquery-appear.js
3.42 KB
Del
OK
jquery-ui-effect.js
32.1 KB
Del
OK
jquery-ui-labeledslider.js
4.59 KB
Del
OK
jquery-ui.js
192.36 KB
Del
OK
jquery.sticky-kit.js
7.9 KB
Del
OK
masonry.js
24.49 KB
Del
OK
mb-YTPlayer.js
118.78 KB
Del
OK
modal.js
14.41 KB
Del
OK
modernizr-custom.js
8.19 KB
Del
OK
range-slider-touch-punch.js
5.13 KB
Del
OK
range-slider.js
10.54 KB
Del
OK
slick-custom.js
6.01 KB
Del
OK
slick.js
40.99 KB
Del
OK
snap-svg.js
65.44 KB
Del
OK
sticky-section.js
12.24 KB
Del
OK
swatchbook.js
5.06 KB
Del
OK
tabs-accordion.js
19.31 KB
Del
OK
tabs.js
27.48 KB
Del
OK
teams.js
4.12 KB
Del
OK
tooltip.js
12.1 KB
Del
OK
typed.js
15.92 KB
Del
OK
ultimate-params.js
4.11 KB
Del
OK
ultimate_bg.js
75.98 KB
Del
OK
vc-fronteditor.js
362 B
Del
OK
vc-inline-editor.js
1.71 KB
Del
OK
vc_column.js
1.25 KB
Del
OK
vhparallax.js
7.72 KB
Del
OK
video-banner.js
1.89 KB
Del
OK
video_module.js
3.4 KB
Del
OK
Edit: expandable-section.js
/*jQuery(document).ready(function(){jQuery(".ult_exp_content").hide(),jQuery(".ult_exp_section").click(function(){var e=jQuery(this).data("effect");if(jQuery(this).toggleClass("ult_active_section"),jQuery(this).next(".ult_exp_content").toggleClass("ult_active_section"),"slideToggle"==e&&jQuery(this).next(".ult_exp_content").slideToggle(500),"fadeToggle"==e){var t=jQuery(this).next(".ult_exp_content");t.is(":visible")?t.fadeTo(500,0,function(){t.slideUp()}):t.slideDown(function(){t.fadeTo(500,1)})}jQuery(this).trigger("select")}),jQuery(".ult_exp_section").select(function(){var e=jQuery(this).data("title"),t=jQuery(this).data("newtitle"),i=jQuery(this).data("icon"),r=jQuery(this).data("newicon"),s=jQuery(this).data("img"),n=jQuery(this).data("newimg"),u=jQuery(this).data("activetitle"),a=jQuery(this).data("activebg"),c=jQuery(this).data("activeicon"),o=jQuery(this).data("activeiconbg"),l=jQuery(this).data("activeborder");jQuery(this).css({color:u}),jQuery(this).parent().find(".ult_exp_section").css({background:a}),jQuery(this).find(".ult_expsection_icon").css({color:c}),jQuery(this).find(".ult_expsection_icon").css({background:o}),jQuery(this).find(".ult_expsection_icon").css({"border-color":l}),jQuery(this).find(".ult_expheader").stop().css("opacity","0.1").html(function(i,r){return r==t?e:t}).animate({opacity:1},300),jQuery(this).hasClass("ult_active_section")?(jQuery(this).find(".ult_ex_icon").removeClass(i),jQuery(this).find(".ult_ex_icon").fadeOut(100).switchClass(i,r,1500,"easeInOutQuad").fadeIn(300),jQuery(this).find(".ult_exp_img").fadeOut(200).attr("src",n).fadeIn(500)):(jQuery(this).find(".ult_ex_icon").removeClass(r),jQuery(this).find(".ult_ex_icon").fadeOut(100).switchClass(r,i,1500,"easeInOutQuad").fadeIn(300),jQuery(this).find(".ult_exp_img").fadeOut(200).attr("src",s).fadeIn(500))})}),jQuery(document).ready(function(){function e(){jQuery(".ult_exp_section_layer").each(function(e,t){jQuery(t).css({"margin-left":0});var i=jQuery(t).find(".ult_exp_section").data("override");if(0!=i){var r="true";if(jQuery(t).parents(".wpb_row").length>0)var s=jQuery(t).parents(".wpb_column");else if(jQuery(t).parents(".wpb_column").length>0)var s=jQuery(t).parents(".wpb_row");else var s=jQuery(t).parent();if("full"==i&&(s=jQuery("body"),r="false"),"ex-full"==i&&(s=jQuery("html"),r="false"),!isNaN(i))for(var e=1;i>e&&"HTML"!=s.prop("tagName");e++)s=s.parent();if("false"==r)var n=s.outerWidth();else var n=s.width();var u=s.offset().left,a=jQuery(t).offset().left,c=u-a;jQuery(t).css("false"==r?{width:n,"margin-left":c}:{width:n})}})}jQuery(".ult_exp_section").hover(function(){var e=jQuery(this).data("texthover"),t=jQuery(this).data("ihover"),i=(jQuery(this).data("cnthvrbg"),jQuery(this).data("headerhover")),r=jQuery(this).data("icnhvrbg"),s=jQuery(this).data("icnhvrborder");jQuery(this).hasClass("ult_active_section")||(jQuery(this).css({color:e,background:i}),jQuery(this).find(".ult_expsection_icon").css({color:t}),jQuery(this).find(".ult_expsection_icon").css({background:r}),jQuery(this).find(".ult_expsection_icon").css({"border-color":s}))},function(){var e=jQuery(this).data("textcolor"),t=jQuery(this).data("icncolor"),i=(jQuery(this).data("cntbg"),jQuery(this).data("headerbg")),r=jQuery(this).data("icnbg"),s=jQuery(this).data("icnborder");jQuery(this).hasClass("ult_active_section")||(jQuery(this).css({color:e,background:i}),jQuery(this).find(".ult_expsection_icon").css({color:t}),jQuery(this).find(".ult_expsection_icon").css({background:r}),jQuery(this).find(".ult_expsection_icon").css({"border-color":s}))}),jQuery(".ult_exp_content").hover(function(){jQuery(this).parent().find(".ult_exp_section").data("cnthvrbg")},function(){jQuery(this).parent().find(".ult_exp_section").data("cntbg")}),jQuery(window).resize(function(){e()}),e()});*/ jQuery(document).ready(function() { jQuery(".ult_exp_content").hide(); //toggle the componenet with class msg_body jQuery(".ult_exp_section").click(function() { var effect = jQuery(this).data('effect'); jQuery(this).toggleClass("ult_active_section"); jQuery(this).next(".ult_exp_content").toggleClass("ult_active_section"); if(effect=='slideToggle'){ jQuery(this).next(".ult_exp_content").slideToggle(500); } if(effect=='fadeToggle'){ //jQuery(this).next(".ult_exp_content").fadeToggle(500); var child= jQuery(this).next(".ult_exp_content"); if(child.is(":visible")) { child.fadeTo(500, 0.0, function() { child.slideUp(); }); } else { child.slideDown(function() { child.fadeTo(500, 1.0); }); } } /* bind trigger on click event*/ jQuery(this).trigger("select"); /* trigger on click event*/ jQuery( document ).trigger( "ult-expandable", jQuery(this).next(".ult_exp_content") ); }); jQuery(".ult_exp_section").select(function(){ var title=jQuery(this).data('title'); var title1=jQuery(this).data('newtitle'); var icn=jQuery(this).data('icon'); var icn1=jQuery(this).data('newicon'); var img=jQuery(this).data('img'); var img1=jQuery(this).data('newimg'); var activetitle=jQuery(this).data('activetitle'); var activebg=jQuery(this).data('activebg'); var acticon = jQuery(this).data('activeicon'); var actiocnbg = jQuery(this).data('activeiconbg'); var activeborder = jQuery(this).data('activeborder'); jQuery(this).css({"color":activetitle}); jQuery(this).parent().find('.ult_exp_section').css({"background":activebg}); jQuery( this ).find('.ult_expsection_icon').css({"color":acticon}); jQuery( this ).find('.ult_expsection_icon').css({"background":actiocnbg}); jQuery( this ).find('.ult_expsection_icon').css({"border-color":activeborder}); if(title!=title1){ jQuery(this).find('.ult_expheader').stop().css('opacity', '0.1').html(function (_, oldText) { return oldText == title1 ? title : title1; }).animate({ opacity: 1 }, 300); } /*----icon replace---------*/ if(jQuery(this).hasClass("ult_active_section")){ if(icn!==icn1){ jQuery(this).find('.ult_ex_icon').removeClass(icn); jQuery(this).find('.ult_ex_icon').fadeOut(100).switchClass( icn, icn1, 1500, "easeInOutQuad" ).fadeIn(300); } if(img!==img1){ jQuery(this).find('.ult_exp_img').fadeOut(200).attr('src', img1).fadeIn(500); } } else{ if(icn!==icn1){ jQuery(this).find('.ult_ex_icon').removeClass(icn1); jQuery(this).find('.ult_ex_icon').fadeOut(100).switchClass( icn1, icn, 1500, "easeInOutQuad" ).fadeIn(300); } if(img!==img1){ jQuery(this).find('.ult_exp_img').fadeOut(200).attr('src', img).fadeIn(500); } } }); }); jQuery(document).ready(function(){ jQuery('.ult_exp_section').hover(function() { var texthover = jQuery(this).data('texthover'); var ihover = jQuery(this).data('ihover'); var cnthvrbg = jQuery(this).data('cnthvrbg'); var headerhover = jQuery(this).data('headerhover'); var icnhvrbg = jQuery(this).data('icnhvrbg'); var icnhvrborder = jQuery(this).data('icnhvrborder'); if(jQuery(this).hasClass("ult_active_section")){ }else{ jQuery( this ).css({"color":texthover,"background":headerhover}); jQuery( this ).find('.ult_expsection_icon').css({"color":ihover}); jQuery( this ).find('.ult_expsection_icon').css({"background":icnhvrbg}); jQuery( this ).find('.ult_expsection_icon').css({"border-color":icnhvrborder}); } }, function() { var textcolor = jQuery(this).data('textcolor'); var icncolor = jQuery(this).data('icncolor'); var cntbg = jQuery(this).data('cntbg'); var headerbg = jQuery(this).data('headerbg'); var icnbg = jQuery(this).data('icnbg'); var icnborder = jQuery(this).data('icnborder'); if(jQuery(this).hasClass("ult_active_section")){ }else{ jQuery( this ).css({"color":textcolor,"background":headerbg}); jQuery( this ).find('.ult_expsection_icon').css({"color":icncolor}); jQuery( this ).find('.ult_expsection_icon').css({"background":icnbg}); jQuery( this ).find('.ult_expsection_icon').css({"border-color":icnborder}); } } ); jQuery('.ult_exp_content').hover(function() { var bg = jQuery(this).parent().find('.ult_exp_section').data('cnthvrbg'); }, function() { var bg1 = jQuery(this).parent().find('.ult_exp_section').data('cntbg'); } ); function resize_ult_section() { jQuery('.ult_exp_section_layer').each(function(i,element){ jQuery(element).css({'margin-left' : 0 }); var override = jQuery(element).find('.ult_exp_section').data('override'); if(override != 0) { var is_relative = 'true'; if(jQuery(element).parents('.wpb_row').length > 0) var ancenstor = jQuery(element).parents('.wpb_column'); else if(jQuery(element).parents('.wpb_column').length > 0) var ancenstor = jQuery(element).parents('.wpb_row'); else var ancenstor = jQuery(element).parent(); var parent = ancenstor; if(override=='full'){ ancenstor= jQuery('body'); is_relative = 'false'; } if(override=='ex-full'){ ancenstor= jQuery('html'); is_relative = 'false'; } if( ! isNaN(override)){ for(var i=1;i<override;i++){ if(ancenstor.prop('tagName')!='HTML'){ ancenstor = ancenstor.parent(); }else{ break; } } } if(is_relative == 'false'){ var w = ancenstor.outerWidth(); } else{ var w = ancenstor.width(); } var a_left = ancenstor.offset().left; var left = jQuery(element).offset().left; var calculate_left = a_left - left; if(is_relative =='false'){ jQuery(element).css({'width':w, 'margin-left' : calculate_left }); } else { jQuery(element).css({'width':w }); } //jQuery(element).css({'width':w, 'margin-left' : calculate_left }); } }); } jQuery( window ).resize(function() { resize_ult_section(); }); resize_ult_section(); }); jQuery(document).ready(function(){ jQuery(".ult_exp_section").select(function(){ //console.log("jo"); var ht=jQuery(this).data("height"); if(ht!=0 ){ var top = jQuery(this).offset().top; var ntop = parseInt(top) - ht; jQuery("html, body").animate({scrollTop : ntop}, 1200); } }); });
Save