jquery script

Talk to other Pedia users about the programs, share tricks and tips or ask questions about existing features.
Post Reply
User avatar
FineWine
Site Admin
Posts: 852
Joined: Wed May 28, 2008 2:41 am
Location: Tauranga, New Zealand

jquery script

Post by FineWine »

Can someone explain to me, a laymen, writing/modifying templates, what the jquery script at the bottom of most of the Bruji Info Templates code is, mean, does, etc. I know nothing about Java scripting.

Code: Select all

<script src="includes/jquery.min.js"></script>
<script src="includes/jquery.masonry.min.js"></script>
<script>
$(function(){
  $('.mainInfo').masonry({
	singleMode: true
  });
});
</script>
Thanks
User avatar
Nora
Site Admin
Posts: 2155
Joined: Sun Jul 04, 2004 5:03 am
Contact:

Re: jquery script

Post by Nora »

When you change the size of your window and the fields automatically re-arrange themselves in a fluid motion? That's that script, you can find more about it at the Masonry webpage.
Post Reply