Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to change what loads first?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #168111
    alpkank
    Participant

    I am using isotope for arranging my divs. It works fine. I only have one question. When the page is loaded, it automatically starts with showing all items (data-filter=”*”).

    Where can I find the line of code that tells the script which filter it should load first. I want to start with a selection of items, and then with a click on a button, it should bring up all the items. Lets say I want only “the metals”
    listed first but with a button “show all”, I want to be able to show everything.

    I would appreciate if someone can show me where the line of code I need is. Thank you.

    http://isotope.metafizzy.co

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.