Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) E:\nuevo\htdocs\bogotacumbredelclima\wp-content\themes\patti\js\custom\ drwxrwxrwx |
Viewing file: custom.js (13.59 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /* Scripts for Patti WordPress Theme */ jQuery(window).load(function() { // Fix chrome issue jQuery('body').width(jQuery('body').width()+1).width('auto'); // Parallax Backgrounds if(!( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) )) { // jQuery('.parallax-section[id^="parallax-"]').parallax("50%", 0.4); } // Parallax Fix for Mobile Devices if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { jQuery('.parallax-section').css({'background-attachment': 'scroll'}); } // CSS animations off if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { jQuery('.cssanimations .wpb_animate_when_almost_visible').css({'opacity':'1'}); jQuery('.cssanimations .wpb_animate_when_almost_visible').css({'-webkit-animation':'none', '-moz-animation':'none', '-o-animation':'none', '-ms-animation':'none', 'animation':'none'}); } }); //Effect for Scrolltop Button function totop() { jQuery('.totop').hover(function(){ jQuery(this).animate({bottom:"-5px"},{queue:false,duration:60}); }, function() { jQuery(this).animate({bottom:"-10px"},{queue:false,duration:60}) }); //Scroll to top jQuery('.totop').click(function(){ jQuery("html, body").animate({ scrollTop: 0 }, 700); return false; }); } // Services function pattiservices() { jQuery('.dt-service-item').click(function() { jQuery(this).parent().children('.dt-service-hover').fadeIn(); jQuery(this).parent().siblings().children('.dt-service-hover').fadeOut(); jQuery('.dt-service-item').addClass('under-opacity'); }); jQuery('.dt-service-hover').click(function() { jQuery(this).fadeOut(); jQuery('.dt-service-item').removeClass('under-opacity'); }); jQuery('.homepage-services').each(function(){ var divclass = jQuery(this).children('.dt-service-wrapper'), instances = divclass.length; switch (instances) { case 1: divclass.addClass('full-width'); break; case 2: divclass.addClass('percent-one-half'); break; case 3: divclass.addClass('percent-one-third'); break; case 4: divclass.addClass('percent-one-fourth'); break; case 5: divclass.addClass('percent-one-fifth'); break; case 6: divclass.addClass('percent-one-sixth'); break; } divclass.last().addClass('column-last'); }) } // function fade_home_top() { // if ( jQuery(window).width() > 800 ) { // window_scroll = jQuery(this).scrollTop(); // jQuery(".tp-caption.black").css({ // 'opacity' : 1-(window_scroll/300) // }); // } // } // jQuery(window).scroll(function() { fade_home_top(); }); jQuery(document).ready(function() { //Run Functions totop(); pattiservices(); // Clients Slider jQuery("#owl-clients").owlCarousel({ items : 4, navigation:true, autoPlay: 5000, slideSpeed : 1000 }); // Twitter Slider jQuery("#owl-twitter").owlCarousel({ autoHeight : true, singleItem : true, autoPlay: false, navigation:true, slideSpeed : 1000 }); // Calculate Audio bar width var audiowidth = jQuery('.audio-item').width(); jQuery('.jp-progress').css({'width': audiowidth-250}); // In and Out Effect jQuery('.item-on-hover').hover(function(){ jQuery(this).animate({ opacity: 1 }, 200); jQuery(this).children('.hover-link, .hover-image, .hover-video').animate({ opacity: 1 }, 200); }, function(){ jQuery(this).animate({ opacity: 0 }, 200); jQuery(this).children('.hover-link, .hover-image, .hover-video').animate({ opacity: 0 }, 200); }); // Portfolio Grid In and Out Effect // jQuery('.grid-item-on-hover').hover(function(){ jQuery(this).animate({ opacity: 0.9 }, 200); }, function(){ jQuery(this).animate({ opacity: 0 }, 200); }); // Video in Posts jQuery(".post-video").fitVids(); // Fix for Overlapping Iframes - removed since Patti 1.4 // jQuery('iframe').each(function() { // var url = jQuery(this).attr("src"); // if (jQuery(this).attr("src").indexOf("?") > 0) { // jQuery(this).attr({ // "src" : url + "&wmode=transparent", // "wmode" : "Opaque" // }); // } // else { // jQuery(this).attr({ // "src" : url + "?wmode=transparent", // "wmode" : "Opaque" // }); // } // }); // PrettyPhoto jQuery("a[rel^='prettyPhoto']").prettyPhoto({ animation_speed:'normal', theme:'light_square', slideshow:3000, autoplay_slideshow: false, deeplinking: false }); // Appending style classes to submit comment button jQuery('input#submit_my_comment').addClass('button orange'); // FONT AWESOME LISTS var ICONS = ["fa-glass" , "fa-music" , "fa-search" , "fa-envelope-o" , "fa-heart" , "fa-star" , "fa-star-o" , "fa-user" , "fa-film" , "fa-th-large" , "fa-th" , "fa-th-list" , "fa-check" , "fa-times" , "fa-search-plus" , "fa-search-minus" , "fa-power-off" , "fa-signal" , "fa-cog" , "fa-trash-o" , "fa-home" , "fa-file-o" , "fa-clock-o" , "fa-road" , "fa-download" , "fa-arrow-circle-o-down" , "fa-arrow-circle-o-up" , "fa-inbox" , "fa-play-circle-o" , "fa-repeat" , "fa-refresh" , "fa-list-alt" , "fa-lock" , "fa-flag" , "fa-headphones" , "fa-volume-off" , "fa-volume-down" , "fa-volume-up" , "fa-qrcode" , "fa-barcode" , "fa-tag" , "fa-tags" , "fa-book" , "fa-bookmark" , "fa-print" , "fa-camera" , "fa-font" , "fa-bold" , "fa-italic" , "fa-text-height" , "fa-text-width" , "fa-align-left" , "fa-align-center" , "fa-align-right" , "fa-align-justify" , "fa-list" , "fa-outdent" , "fa-indent" , "fa-video-camera" , "fa-picture-o" , "fa-pencil" , "fa-map-marker" , "fa-adjust" , "fa-tint" , "fa-pencil-square-o" , "fa-share-square-o" , "fa-check-square-o" , "fa-arrows" , "fa-step-backward" , "fa-fast-backward" , "fa-backward" , "fa-play" , "fa-pause" , "fa-stop" , "fa-forward" , "fa-fast-forward" , "fa-step-forward" , "fa-eject" , "fa-chevron-left" , "fa-chevron-right" , "fa-plus-circle" , "fa-minus-circle" , "fa-times-circle" , "fa-check-circle" , "fa-question-circle" , "fa-info-circle" , "fa-crosshairs" , "fa-times-circle-o" , "fa-check-circle-o" , "fa-ban" , "fa-arrow-left" , "fa-arrow-right" , "fa-arrow-up" , "fa-arrow-down" , "fa-share" , "fa-expand" , "fa-compress" , "fa-plus" , "fa-minus" , "fa-asterisk" , "fa-exclamation-circle" , "fa-gift" , "fa-leaf" , "fa-fire" , "fa-eye" , "fa-eye-slash" , "fa-exclamation-triangle" , "fa-plane" , "fa-calendar" , "fa-random" , "fa-comment" , "fa-magnet" , "fa-chevron-up" , "fa-chevron-down" , "fa-retweet" , "fa-shopping-cart" , "fa-folder" , "fa-folder-open" , "fa-arrows-v" , "fa-arrows-h" , "fa-bar-chart" , "fa-twitter-square" , "fa-facebook-square" , "fa-camera-retro" , "fa-key" , "fa-cogs" , "fa-comments" , "fa-thumbs-o-up" , "fa-thumbs-o-down" , "fa-star-half" , "fa-heart-o" , "fa-sign-out" , "fa-linkedin-square" , "fa-thumb-tack" , "fa-external-link" , "fa-sign-in" , "fa-trophy" , "fa-github-square" , "fa-upload" , "fa-lemon-o" , "fa-phone" , "fa-square-o" , "fa-bookmark-o" , "fa-phone-square" , "fa-twitter" , "fa-facebook" , "fa-github" , "fa-unlock" , "fa-credit-card" , "fa-rss" , "fa-hdd-o" , "fa-bullhorn" , "fa-bell" , "fa-certificate" , "fa-hand-o-right" , "fa-hand-o-left" , "fa-hand-o-up" , "fa-hand-o-down" , "fa-arrow-circle-left" , "fa-arrow-circle-right" , "fa-arrow-circle-up" , "fa-arrow-circle-down" , "fa-globe" , "fa-wrench" , "fa-tasks" , "fa-filter" , "fa-briefcase" , "fa-arrows-alt" , "fa-users" , "fa-link" , "fa-cloud" , "fa-flask" , "fa-scissors" , "fa-files-o" , "fa-paperclip" , "fa-floppy-o" , "fa-square" , "fa-bars" , "fa-list-ul" , "fa-list-ol" , "fa-strikethrough" , "fa-underline" , "fa-table" , "fa-magic" , "fa-truck" , "fa-pinterest" , "fa-pinterest-square" , "fa-google-plus-square" , "fa-google-plus" , "fa-money" , "fa-caret-down" , "fa-caret-up" , "fa-caret-left" , "fa-caret-right" , "fa-columns" , "fa-sort" , "fa-sort-desc" , "fa-sort-asc" , "fa-envelope" , "fa-linkedin" , "fa-undo" , "fa-gavel" , "fa-tachometer" , "fa-comment-o" , "fa-comments-o" , "fa-bolt" , "fa-sitemap" , "fa-umbrella" , "fa-clipboard" , "fa-lightbulb-o" , "fa-exchange" , "fa-cloud-download" , "fa-cloud-upload" , "fa-user-md" , "fa-stethoscope" , "fa-suitcase" , "fa-bell-o" , "fa-coffee" , "fa-cutlery" , "fa-file-text-o" , "fa-building-o" , "fa-hospital-o" , "fa-ambulance" , "fa-medkit" , "fa-fighter-jet" , "fa-beer" , "fa-h-square" , "fa-plus-square" , "fa-angle-double-left" , "fa-angle-double-right" , "fa-angle-double-up" , "fa-angle-double-down" , "fa-angle-left" , "fa-angle-right" , "fa-angle-up" , "fa-angle-down" , "fa-desktop" , "fa-laptop" , "fa-tablet" , "fa-mobile" , "fa-circle-o" , "fa-quote-left" , "fa-quote-right" , "fa-spinner" , "fa-circle" , "fa-reply" , "fa-github-alt" , "fa-folder-o" , "fa-folder-open-o" , "fa-smile-o" , "fa-frown-o" , "fa-meh-o" , "fa-gamepad" , "fa-keyboard-o" , "fa-flag-o" , "fa-flag-checkered" , "fa-terminal" , "fa-code" , "fa-reply-all" , "fa-star-half-o" , "fa-location-arrow" , "fa-crop" , "fa-code-fork" , "fa-chain-broken" , "fa-question" , "fa-info" , "fa-exclamation" , "fa-superscript" , "fa-subscript" , "fa-eraser" , "fa-puzzle-piece" , "fa-microphone" , "fa-microphone-slash" , "fa-shield" , "fa-calendar-o" , "fa-fire-extinguisher" , "fa-rocket" , "fa-maxcdn" , "fa-chevron-circle-left" , "fa-chevron-circle-right" , "fa-chevron-circle-up" , "fa-chevron-circle-down" , "fa-html5" , "fa-css3" , "fa-anchor" , "fa-unlock-alt" , "fa-bullseye" , "fa-ellipsis-h" , "fa-ellipsis-v" , "fa-rss-square" , "fa-play-circle" , "fa-ticket" , "fa-minus-square" , "fa-minus-square-o" , "fa-level-up" , "fa-level-down" , "fa-check-square" , "fa-pencil-square" , "fa-external-link-square" , "fa-share-square" , "fa-compass" , "fa-caret-square-o-down" , "fa-caret-square-o-up" , "fa-caret-square-o-right" , "fa-eur" , "fa-gbp" , "fa-usd" , "fa-inr" , "fa-jpy" , "fa-rub" , "fa-krw" , "fa-btc" , "fa-file" , "fa-file-text" , "fa-sort-alpha-asc" , "fa-sort-alpha-desc" , "fa-sort-amount-asc" , "fa-sort-amount-desc" , "fa-sort-numeric-asc" , "fa-sort-numeric-desc" , "fa-thumbs-up" , "fa-thumbs-down" , "fa-youtube-square" , "fa-youtube" , "fa-xing" , "fa-xing-square" , "fa-youtube-play" , "fa-dropbox" , "fa-stack-overflow" , "fa-instagram" , "fa-flickr" , "fa-adn" , "fa-bitbucket" , "fa-bitbucket-square" , "fa-tumblr" , "fa-tumblr-square" , "fa-long-arrow-down" , "fa-long-arrow-up" , "fa-long-arrow-left" , "fa-long-arrow-right" , "fa-apple" , "fa-windows" , "fa-android" , "fa-linux" , "fa-dribbble" , "fa-skype" , "fa-foursquare" , "fa-trello" , "fa-female" , "fa-male" , "fa-gittip" , "fa-sun-o" , "fa-moon-o" , "fa-archive" , "fa-bug" , "fa-vk" , "fa-weibo" , "fa-renren" , "fa-pagelines" , "fa-stack-exchange" , "fa-arrow-circle-o-right" , "fa-arrow-circle-o-left" , "fa-caret-square-o-left" , "fa-dot-circle-o" , "fa-wheelchair" , "fa-vimeo-square" , "fa-try" , "fa-plus-square-o" , "fa-space-shuttle" , "fa-slack" , "fa-envelope-square" , "fa-wordpress" , "fa-openid" , "fa-university" , "fa-graduation-cap" , "fa-yahoo" , "fa-google" , "fa-reddit" , "fa-reddit-square" , "fa-stumbleupon-circle" , "fa-stumbleupon" , "fa-delicious" , "fa-digg" , "fa-pied-piper" , "fa-pied-piper-alt" , "fa-drupal" , "fa-joomla" , "fa-language" , "fa-fax" , "fa-building" , "fa-child" , "fa-paw" , "fa-spoon" , "fa-cube" , "fa-cubes" , "fa-behance" , "fa-behance-square" , "fa-steam" , "fa-steam-square" , "fa-recycle" , "fa-car" , "fa-taxi" , "fa-tree" , "fa-spotify" , "fa-deviantart" , "fa-soundcloud" , "fa-database" , "fa-file-pdf-o" , "fa-file-word-o" , "fa-file-excel-o" , "fa-file-powerpoint-o" , "fa-file-image-o" , "fa-file-archive-o" , "fa-file-audio-o" , "fa-file-video-o" , "fa-file-code-o" , "fa-vine" , "fa-codepen" , "fa-jsfiddle" , "fa-life-ring" , "fa-circle-o-notch" , "fa-rebel" , "fa-empire" , "fa-git-square" , "fa-git" , "fa-hacker-news" , "fa-tencent-weibo" , "fa-qq" , "fa-weixin" , "fa-paper-plane" , "fa-paper-plane-o" , "fa-history" , "fa-circle-thin" , "fa-header" , "fa-paragraph" , "fa-sliders" , "fa-share-alt" , "fa-share-alt-square" , "fa-bomb" , "fa-futbol-o" , "fa-tty" , "fa-binoculars" , "fa-plug" , "fa-slideshare" , "fa-twitch" , "fa-yelp" , "fa-newspaper-o" , "fa-wifi" , "fa-calculator" , "fa-paypal" , "fa-google-wallet" , "fa-cc-visa" , "fa-cc-mastercard" , "fa-cc-discover" , "fa-cc-amex" , "fa-cc-paypal" , "fa-cc-stripe" , "fa-bell-slash" , "fa-bell-slash-o" , "fa-trash" , "fa-copyright" , "fa-at" , "fa-eyedropper" , "fa-paint-brush" , "fa-birthday-cake" , "fa-area-chart" , "fa-pie-chart" , "fa-line-chart" , "fa-lastfm" , "fa-lastfm-square" , "fa-toggle-off" , "fa-toggle-on" , "fa-bicycle" , "fa-bus" , "fa-ioxhost" , "fa-angellist" , "fa-cc" , "fa-ils" , "fa-meanpath"]; for ( var i in ICONS ) { jQuery('.list-icon-' + ICONS[i] + ' li').prepend('<i class="fa '+ ICONS[i] +'"></i>'); } // Header Search Form jQuery(".searchform-switch .fa-times-circle").hide(); jQuery(".searchform-switch .fa-search").click(function() { jQuery(".searchform-switch .fa-search").hide("slow"); jQuery(".header-search-form").fadeIn("slow", function(){ jQuery(this).removeClass("display-none"); }); jQuery(".searchform-switch .fa-times-circle").show("slow"); }); jQuery(".searchform-switch .fa-times-circle").click(function() { jQuery(".searchform-switch .fa-times-circle").hide("slow"); jQuery(".header-search-form").fadeOut("slow", function(){ jQuery(this).addClass("display-none"); }); jQuery(".searchform-switch .fa-search").show("slow"); }); }); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |