Difference between revisions of "Team:CCA SanDiego/Notebook"

Line 104: Line 104:
 
     function hideBlocks(blocks, offset) {
 
     function hideBlocks(blocks, offset) {
 
         blocks.each(function(){
 
         blocks.each(function(){
             ( $(this).offset().top > $(window).scrollTop()+$(window).height()*offset ) && $(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden');
+
             ( $(this).offset().top > $(window).scrollTop()+$(window).height()*offset ) & $(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden');
 
         });
 
         });
 
     }
 
     }
Line 110: Line 110:
 
     function showBlocks(blocks, offset) {
 
     function showBlocks(blocks, offset) {
 
         blocks.each(function(){
 
         blocks.each(function(){
             ( $(this).offset().top <= $(window).scrollTop()+$(window).height()*offset && $(this).find('.cd-timeline-img').hasClass('is-hidden') ) && $(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in');
+
             ( $(this).offset().top <= $(window).scrollTop()+$(window).height()*offset & $(this).find('.cd-timeline-img').hasClass('is-hidden') ) && $(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in');
 
         });
 
         });
 
     }
 
     }

Revision as of 22:23, 8 September 2015

Responsive Vertical Timeline

Responsive Vertical Timeline

Picture

Title of section 1

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde? Iste voluptatibus minus veritatis qui ut.

Read more Jan 14
Movie

Title of section 2

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde?

Read more Jan 18
Picture

Title of section 3

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi, obcaecati, quisquam id molestias eaque asperiores voluptatibus cupiditate error assumenda delectus odit similique earum voluptatem doloremque dolorem ipsam quae rerum quis. Odit, itaque, deserunt corporis vero ipsum nisi eius odio natus ullam provident pariatur temporibus quia eos repellat consequuntur perferendis enim amet quae quasi repudiandae sed quod veniam dolore possimus rem voluptatum eveniet eligendi quis fugiat aliquam sunt similique aut adipisci.

Read more Jan 24
Location

Title of section 4

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde? Iste voluptatibus minus veritatis qui ut.

Read more Feb 14
Location

Title of section 5

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum.

Read more Feb 18
Movie

Final Section

This is the content of the last section

Feb 26