Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web432/html/wp-content/themes/touchm/js/ |
Current File : //var/www/web432/html/wp-content/themes/touchm/js/app.js |
/*jshint jquery:true */ ;(function ($, window, undefined) { 'use strict'; var $doc = $(document), Modernizr = window.Modernizr; $.fn.foundationAlerts ? $doc.foundationAlerts() : null; $.fn.foundationAccordion ? $doc.foundationAccordion() : null; $.fn.foundationTooltips ? $doc.foundationTooltips() : null; $('input, textarea').placeholder(); $.fn.foundationButtons ? $doc.foundationButtons() : null; $.fn.foundationNavigation ? $doc.foundationNavigation() : null; $.fn.foundationTopBar ? $doc.foundationTopBar() : null; $.fn.foundationCustomForms ? $doc.foundationCustomForms() : null; $.fn.foundationMediaQueryViewer ? $doc.foundationMediaQueryViewer() : null; $.fn.foundationTabs ? $doc.foundationTabs() : null; $("#featured").orbit(); // UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE8 SUPPORT AND ARE USING .block-grids // $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'both'}); // $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'both'}); // $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'both'}); // $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'both'}); // Hide address bar on mobile devices if (Modernizr.touch) { $(window).load(function () { setTimeout(function () { window.scrollTo(0, 1); }, 0); }); } })(jQuery, this); /* * Copyright (C) 2009 Joel Sutherland * Licenced under the MIT license * http://www.newmediacampaigns.com/page/jquery-flickr-plugin * * Available tags for templates: * title, link, date_taken, description, published, author, author_id, tags, image* */ (function($){$.fn.jflickrfeed=function(settings,callback){settings=$.extend(true,{flickrbase:'http://api.flickr.com/services/feeds/',feedapi:'photos_public.gne',limit:20,qstrings:{lang:'en-us',format:'json',jsoncallback:'?'},cleanDescription:true,useTemplate:true,itemTemplate:'',itemCallback:function(){}},settings);var url=settings.flickrbase+settings.feedapi+'?';var first=true;for(var key in settings.qstrings){if(!first) url+='&';url+=key+'='+settings.qstrings[key];first=false;} return $(this).each(function(){var $container=$(this);var container=this;$.getJSON(url,function(data){$.each(data.items,function(i,item){if(i<settings.limit){if(settings.cleanDescription){var regex=/<p>(.*?)<\/p>/g;var input=item.description;if(regex.test(input)){item.description=input.match(regex)[2] if(item.description!=undefined) item.description=item.description.replace('<p>','').replace('</p>','');}} item['image_s']=item.media.m.replace('_m','_s');item['image_t']=item.media.m.replace('_m','_t');item['image_m']=item.media.m.replace('_m','_m');item['image']=item.media.m.replace('_m','');item['image_b']=item.media.m.replace('_m','_b');delete item.media;if(settings.useTemplate){var template=settings.itemTemplate;for(var key in item){var rgx=new RegExp('{{'+key+'}}','g');template=template.replace(rgx,item[key]);} $container.append(template)} settings.itemCallback.call(container,item);}});if($.isFunction(callback)){callback.call(container,data);}});});}})(jQuery); jQuery(function() { jQuery(".contentHover").hover( function() { jQuery(this).children(".content").fadeTo(200, 0.25).end().children(".hover-content").fadeTo(200, 1).show(); }, function() { jQuery(this).children(".content").fadeTo(200, 1).end().children(".hover-content").fadeTo(200, 0).hide(); }); }); // Flexi Slider // Target sliders individually with different properties --> jQuery(window).load(function() { /*jQuery('.simple-slider').flexslider({ animation: "slide", slideshow: false, controlNav: false, smoothHeight: true, start: function(slider){ $('body').removeClass('loading'); } }); */ jQuery('.gallery-slider').flexslider({ animation: "slide", controlNav: "thumbnails", start: function(slider){ jQuery('body').removeClass('loading'); } }); jQuery('#main-slider').flexslider({ animation: "slide", controlNav: false, start: function(slider){ jQuery('body').removeClass('loading'); } }); });
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare