closed automatic one reloads function, like facebook

Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hello!
I would use with pleasure the following Script for Jamroom to show the song view differently-> ; http://masonry. desandro. com/
I have inserted the Script so far and have functioned up to which so-called reload.

Has somebody inserted especially for Jamroom such a thing with itself successfully? It goes reload around this, like one knows it of Facebook if one reload further under it scrollt and the contents automatically.

Thank you very much,
Stefan
updated by @bandwerkstatt: 05/21/15 06:52:21AM
douglas
@douglas
9 years ago
2,790 posts
Jamroom5 skins use a grid system already, which makes them responsive for mobile devices. Is there a particular reason you want to use something different?

I don't believe anyone here has integrated that grid system.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
boplive
@boplive
9 years ago
345 posts
Hmmmm..i was looking into adding tht to my site..SteveX put me up to that link..but I never did get to integrate it to my site
My reason for that was on this topic

https://www.jamroom.net/the-jamroom-network/forum/my_posts/13349/eliminating-the-spacing-between-each-artists-image-details-when-adding-more-info-like-biography
updated by @boplive: 02/18/15 10:02:43AM
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
at first i had the same problem. that script uses "item" as div class. but you can rename it with the itemSelector.

<div id="container" class="js-masonry" data-masonry-options='{ "itemSelector": ".item_b" }'>

<div class="item_b">...</div>
<div class="item_b">...</div>
<div class="item_b">...</div>

</div>
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
any more tipps, help? Thanks :)
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Are you using something from this?
http://desandro.github.io/masonry/demos/infinite-scroll.html

<script>
  $(function(){
    
    var $container = $('#container');
    
    $container.imagesLoaded(function(){
      $container.masonry({
        itemSelector: '.box',
        columnWidth: 100
      });
    });
    
    $container.infinitescroll({
      navSelector  : '#page-nav',    // selector for the paged navigation 
      nextSelector : '#page-nav a',  // selector for the NEXT link (to page 2)
      itemSelector : '.box',     // selector for all items you'll retrieve
      loading: {
          finishedMsg: 'No more pages to load.',
          img: 'http://i.imgur.com/6RMhx.gif'
        }
      },
      // trigger Masonry as a callback

      function( newElements ) {
        // hide new items while they are loading
        var $newElems = $( newElements ).css({ opacity: 0 });
        // ensure that images load before adding to masonry layout
        $newElems.imagesLoaded(function(){
          // show elems now they're ready
          $newElems.animate({ opacity: 1 });
          $container.masonry( 'appended', $newElems, true ); 
        });
      }
    );
    
  });
</script>



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 03/08/15 02:59:48PM
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hey :)

Yes, excatly.

But we use it in html, not javascript.

Thanks!
updated by @bandwerkstatt: 03/21/15 01:59:09PM

Tags