SlideShare a Scribd company logo
Isotope
An exquisite jQuery plugin for magical layouts
Sem Gebresilassie
What is it?
 Isotope is a jquery plugin that make Intelligent, dynamic layouts that are difficult to
accomplish using CSS alone
 Using jquery selectors, isotope makes filtering more appealing to hide and reveal DOM elements
 Developed by David DeSandro
 With Isotope behind, it is also possible to reorder and sort extracted data fashionably
 Mainly used to create things like filterable portfolios or display contents in other incredibly
cool dynamic ways.
 Isotope can be used in commercial projects and applications with a one time licencing fee
Requirments
• As a jquery plugin Isotope requires jQuery 1.4.3 or latest to be included
• Isotope works on a container element with a group of similar child items
Html js
• Ideally, Isotope layouts should be initialized after all inner content has been loaded
• Great demonstration using this concept is found here http://isotope.metafizzy.co/demos/basic.html
Layout modes
• Isotope has a versatile layout engine that can accommodate multiple layout modes
• You can set and change the layout mode via the layoutMode option.
• Isotope has many built-in layout modes
• Horizontal layout modes (masonryHorizontal, fitColumns, cellsByColumn, and straightAcross)
need a container that has a height value.
• It’s important to set height value in css
Filtering
• Isotope can hide and show item elements via the filter option using jquery selectors
• Items matching that selector will be shown and items that do not match will be hidden
• To show only .metal items, the jQuery script would be
Example
• For the HTML markup in the previous slide
1. .alkali, .alkaline-earth will show .alkali AND .alkaline-earth item elements.
2. .metal.transition will show item elements that have BOTH .metal and .transition classes.
3. .metal:not(.transition) will show .metal item elements that are NOT .transition.
• Filtering functionality needs the following Recommended CSS
Sorting
• Another major applicability of ISOTOPE is Sorting
• You can collect data from item element and rearrange their order in the layout with sorting
• By default, Isotope sorts data in ascension
• To reverse the order and sort data in dissension, set sortAscending to false.
• By creating interactive buttons, it is also possible to sort data using .click function
Animating
• Isotope provides JavaScript animation fall back for lesser browsers
• You can control how Isotope handles animation with the animationEngine options
• 'best-available': if browser supports CSS transitions, Isotope uses .css(). If not, falls back to using
.animate().
• 'css': Isotope uses .css()
• 'jquery': Isotope uses .animate()
• animationEngine determines the jQuery method to apply styles, .css() or .animate()
• useful for relying on CSS transitions to handle animation
Adding new elements
• Isotope provides several techniques and methods to add new elements to DOM
• addItems method :The addItems method adds new content to an Isotope container
• insert method: will append the content to the container, filter the new content, sort all the content, then trigger a reLayout so all item elements
are properly laid out.
• appended method:The appended method is a convenience method triggers addItems on new content, then lays out only the new content at the
end of the layout
• insert method: will append the content to the container, filter the new content, sort all the content, then trigger a reLayout so all item
elements are properly laid out.
• When adding items you’ll need these styles in your CSS for the reveal animation to work
properly
Demo http://users.metropolia.fi/~semg/eservice/isotope/
...
Resources
• Home page
http://isotope.metafizzy.co/docs/introduction.html
• Repository
https://github.com/desandro/isotope
• Author’s David DeSandro page
http://v3.desandro.com/
• Tut
http://www.9bitstudios.com/2013/04/jquery-isotope-tutorial/

More Related Content

Viewers also liked

Sodium (Emily Esham)
Sodium (Emily Esham)Sodium (Emily Esham)
Sodium (Emily Esham)
kwalters00
 
Humphry Davy
Humphry DavyHumphry Davy
Humphry Davy
Ace's Rosario
 
Electronic configuration and isotopes
Electronic configuration and isotopesElectronic configuration and isotopes
Electronic configuration and isotopes
International advisers
 
Presentación sustentación del artículo
Presentación   sustentación del artículoPresentación   sustentación del artículo
Presentación sustentación del artículo
Diego A. Bonilla Ocampo
 
Determining An Isotope
Determining An IsotopeDetermining An Isotope
Determining An Isotope
guest426cf3
 
Application of radioisotopes in industry
Application of radioisotopes in industryApplication of radioisotopes in industry
Application of radioisotopes in industry
upvita pandey
 
Titanium ,
Titanium , Titanium ,
Titanium ,
Gulfam Hussain
 
Radioisotope technique and methods
Radioisotope technique and methodsRadioisotope technique and methods
Radioisotope technique and methods
University of Mumbai
 
Radioactive isotopes in medicine
Radioactive isotopes in medicineRadioactive isotopes in medicine
Radioactive isotopes in medicine
Bernardo Ganotice IV
 
Uses of radio isotopes
Uses of radio isotopesUses of radio isotopes
Uses of radio isotopes
Dhrubajyoti Brahma
 
Radio isotopes
Radio isotopesRadio isotopes
Radio isotopes
Dr.M.Prasad Naidu
 
Tritium isotope separation
Tritium isotope separationTritium isotope separation
Tritium isotope separation
Vasaru Gheorghe
 

Viewers also liked (12)

Sodium (Emily Esham)
Sodium (Emily Esham)Sodium (Emily Esham)
Sodium (Emily Esham)
 
Humphry Davy
Humphry DavyHumphry Davy
Humphry Davy
 
Electronic configuration and isotopes
Electronic configuration and isotopesElectronic configuration and isotopes
Electronic configuration and isotopes
 
Presentación sustentación del artículo
Presentación   sustentación del artículoPresentación   sustentación del artículo
Presentación sustentación del artículo
 
Determining An Isotope
Determining An IsotopeDetermining An Isotope
Determining An Isotope
 
Application of radioisotopes in industry
Application of radioisotopes in industryApplication of radioisotopes in industry
Application of radioisotopes in industry
 
Titanium ,
Titanium , Titanium ,
Titanium ,
 
Radioisotope technique and methods
Radioisotope technique and methodsRadioisotope technique and methods
Radioisotope technique and methods
 
Radioactive isotopes in medicine
Radioactive isotopes in medicineRadioactive isotopes in medicine
Radioactive isotopes in medicine
 
Uses of radio isotopes
Uses of radio isotopesUses of radio isotopes
Uses of radio isotopes
 
Radio isotopes
Radio isotopesRadio isotopes
Radio isotopes
 
Tritium isotope separation
Tritium isotope separationTritium isotope separation
Tritium isotope separation
 

Similar to Isotope.js

Javascript libraries
Javascript librariesJavascript libraries
Javascript libraries
Dumindu Pahalawatta
 
Getting started with jQuery
Getting started with jQueryGetting started with jQuery
Getting started with jQuery
Gill Cleeren
 
Getting Started with jQuery
Getting Started with jQueryGetting Started with jQuery
Getting Started with jQuery
Laila Buncab
 
Web technologies-course 11.pptx
Web technologies-course 11.pptxWeb technologies-course 11.pptx
Web technologies-course 11.pptx
Stefan Oprea
 
Advanced CSS.pptx
Advanced CSS.pptxAdvanced CSS.pptx
Advanced CSS.pptx
DiyonaVas
 
Decorator pattern
Decorator patternDecorator pattern
Decorator pattern
Mohammad Reda Katby
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationLotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Sean Burgess
 
KnockoutJS and MVVM
KnockoutJS and MVVMKnockoutJS and MVVM
KnockoutJS and MVVM
Manvendra Singh
 
CSS Introduction
CSS Introduction CSS Introduction
CSS Introduction
Thapar Institute
 
【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう
【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう
【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう
Unity Technologies Japan K.K.
 
Theming moodle technical
Theming moodle   technicalTheming moodle   technical
Theming moodle technical
Alex Walker
 
Google web toolkit web conference presenation
Google web toolkit web conference presenationGoogle web toolkit web conference presenation
Google web toolkit web conference presenation
Stephen Erdman
 
Chromatique
ChromatiqueChromatique
Chromatique
tutorialsruby
 
Chromatique
ChromatiqueChromatique
Chromatique
tutorialsruby
 
Introduction to OOP in Python
Introduction to OOP in PythonIntroduction to OOP in Python
Introduction to OOP in Python
Aleksander Fabijan
 
CSS 201
CSS 201CSS 201
CSS 201
Jennifer Berk
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
stephy123123
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
stephy123123
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18
TJ Stalcup
 
HTML, CSS, and Javascript for Web developed by hu
HTML, CSS, and Javascript for Web developed by huHTML, CSS, and Javascript for Web developed by hu
HTML, CSS, and Javascript for Web developed by hu
wekineheshete
 

Similar to Isotope.js (20)

Javascript libraries
Javascript librariesJavascript libraries
Javascript libraries
 
Getting started with jQuery
Getting started with jQueryGetting started with jQuery
Getting started with jQuery
 
Getting Started with jQuery
Getting Started with jQueryGetting Started with jQuery
Getting Started with jQuery
 
Web technologies-course 11.pptx
Web technologies-course 11.pptxWeb technologies-course 11.pptx
Web technologies-course 11.pptx
 
Advanced CSS.pptx
Advanced CSS.pptxAdvanced CSS.pptx
Advanced CSS.pptx
 
Decorator pattern
Decorator patternDecorator pattern
Decorator pattern
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationLotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
 
KnockoutJS and MVVM
KnockoutJS and MVVMKnockoutJS and MVVM
KnockoutJS and MVVM
 
CSS Introduction
CSS Introduction CSS Introduction
CSS Introduction
 
【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう
【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう
【Unite 2017 Tokyo】ScriptableObjectを使ってプログラマーもアーティストも幸せになろう
 
Theming moodle technical
Theming moodle   technicalTheming moodle   technical
Theming moodle technical
 
Google web toolkit web conference presenation
Google web toolkit web conference presenationGoogle web toolkit web conference presenation
Google web toolkit web conference presenation
 
Chromatique
ChromatiqueChromatique
Chromatique
 
Chromatique
ChromatiqueChromatique
Chromatique
 
Introduction to OOP in Python
Introduction to OOP in PythonIntroduction to OOP in Python
Introduction to OOP in Python
 
CSS 201
CSS 201CSS 201
CSS 201
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18
 
HTML, CSS, and Javascript for Web developed by hu
HTML, CSS, and Javascript for Web developed by huHTML, CSS, and Javascript for Web developed by hu
HTML, CSS, and Javascript for Web developed by hu
 

Recently uploaded

Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Envertis Software Solutions
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
Gerardo Pardo-Castellote
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
lorraineandreiamcidl
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
Yara Milbes
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 

Recently uploaded (20)

Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
DDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systemsDDS-Security 1.2 - What's New? Stronger security for long-running systems
DDS-Security 1.2 - What's New? Stronger security for long-running systems
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptxLORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
LORRAINE ANDREI_LEQUIGAN_HOW TO USE WHATSAPP.pptx
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
SMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API ServiceSMS API Integration in Saudi Arabia| Best SMS API Service
SMS API Integration in Saudi Arabia| Best SMS API Service
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 

Isotope.js

  • 1. Isotope An exquisite jQuery plugin for magical layouts Sem Gebresilassie
  • 2. What is it?  Isotope is a jquery plugin that make Intelligent, dynamic layouts that are difficult to accomplish using CSS alone  Using jquery selectors, isotope makes filtering more appealing to hide and reveal DOM elements  Developed by David DeSandro  With Isotope behind, it is also possible to reorder and sort extracted data fashionably  Mainly used to create things like filterable portfolios or display contents in other incredibly cool dynamic ways.  Isotope can be used in commercial projects and applications with a one time licencing fee
  • 3. Requirments • As a jquery plugin Isotope requires jQuery 1.4.3 or latest to be included • Isotope works on a container element with a group of similar child items Html js • Ideally, Isotope layouts should be initialized after all inner content has been loaded • Great demonstration using this concept is found here http://isotope.metafizzy.co/demos/basic.html
  • 4. Layout modes • Isotope has a versatile layout engine that can accommodate multiple layout modes • You can set and change the layout mode via the layoutMode option. • Isotope has many built-in layout modes • Horizontal layout modes (masonryHorizontal, fitColumns, cellsByColumn, and straightAcross) need a container that has a height value. • It’s important to set height value in css
  • 5. Filtering • Isotope can hide and show item elements via the filter option using jquery selectors • Items matching that selector will be shown and items that do not match will be hidden • To show only .metal items, the jQuery script would be
  • 6. Example • For the HTML markup in the previous slide 1. .alkali, .alkaline-earth will show .alkali AND .alkaline-earth item elements. 2. .metal.transition will show item elements that have BOTH .metal and .transition classes. 3. .metal:not(.transition) will show .metal item elements that are NOT .transition. • Filtering functionality needs the following Recommended CSS
  • 7. Sorting • Another major applicability of ISOTOPE is Sorting • You can collect data from item element and rearrange their order in the layout with sorting • By default, Isotope sorts data in ascension • To reverse the order and sort data in dissension, set sortAscending to false. • By creating interactive buttons, it is also possible to sort data using .click function
  • 8. Animating • Isotope provides JavaScript animation fall back for lesser browsers • You can control how Isotope handles animation with the animationEngine options • 'best-available': if browser supports CSS transitions, Isotope uses .css(). If not, falls back to using .animate(). • 'css': Isotope uses .css() • 'jquery': Isotope uses .animate() • animationEngine determines the jQuery method to apply styles, .css() or .animate() • useful for relying on CSS transitions to handle animation
  • 9. Adding new elements • Isotope provides several techniques and methods to add new elements to DOM • addItems method :The addItems method adds new content to an Isotope container • insert method: will append the content to the container, filter the new content, sort all the content, then trigger a reLayout so all item elements are properly laid out. • appended method:The appended method is a convenience method triggers addItems on new content, then lays out only the new content at the end of the layout
  • 10. • insert method: will append the content to the container, filter the new content, sort all the content, then trigger a reLayout so all item elements are properly laid out. • When adding items you’ll need these styles in your CSS for the reveal animation to work properly Demo http://users.metropolia.fi/~semg/eservice/isotope/ ...
  • 11. Resources • Home page http://isotope.metafizzy.co/docs/introduction.html • Repository https://github.com/desandro/isotope • Author’s David DeSandro page http://v3.desandro.com/ • Tut http://www.9bitstudios.com/2013/04/jquery-isotope-tutorial/