wordpress - Isotope No Results Message for Combination Filters -


I'm finally reaching out for help. I am trying to get results message to show in my isotope image gallery for one week, only with a small part of the fate. Working with me at one point was an example, but the message is not hidden until the animation is complete, so it does not look good at all.

Surely someone has a solution.

I appreciate it if someone can help me I have a test site which I will link here in just one second.

For now, the first half of my isotope configuration file is '.message-div' with my '#sotopeGallery div' CSS with 'Display: None.'

  jQuery (window) .load (function () {var $ container = $ ('# isotope gallery'). Picture loaded (function () {$ container.otope ({items selected) : '.photo', masonry: {columnWidth: 161, gutter: 10}, duration of infection: '0.6s'}); // filter // var filter = {}; $ (' # isotopefilters'). (' Click on ',' menu item ', function () {var $ this = $ (this); // group key var $ button group = $ this.parents (' filter-title '); var filterGroup = $ ButtonGroup.attr ('filter filter set for data group filter [filterGroup] = $ this.attr (' data-filter '); // f Filter filter filter = ''; for filtered (var prop) {filterValue + = filter [Sahara];} $ container. (Isolate filter filter); // Probability $ Container isotope ('on' 'Layout Complex', Function (ISO, Layout Oat Items) {If (Layout Oat Items & lt; 1) {$ ('Message-div'). FadeIn ('slow');} and {$ ('. -div '). FadeOut (' fast ');}}}});});}); "No results" is an easy solution to get the message.    

for class selector Consider ".photo" in form. As if the isotope is applying ".isotope-hidden" in the devil-container, if it does not match the filter, then the number of these divisions is equal to all isotope items in the case of "no result". Easy: if ($ ("isotope-hidden"). Length == $ ("photo"). Length) {$ ("# mynoresults"). Show (); }

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -