Jump to content

Accoutergroupofcompanies

Circle Member
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Accoutergroupofcompanies

  1. I've previously tired to use this code (below) to add a show more and show less feature to this page, initially showing 9 images and then revelling 9 more and so on. However, it doesn't appear to work when I use #expand-5 as this tutorial shows 

    It only appears to show items that are more than 5 rows down and its not clean. Any tips?

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> var SHOW_MORE = 'Show More' var COLLAPSE = 'Show Less' $(window).load(function(){ $('a[href^="#expand"]').each(function(){ var n = parseInt($(this).attr('href').split('-')[1]); var next_n_divs = $(this).parents('div.sqs-block').nextAll().slice(0,n) next_n_divs.wrapAll('<div class="extra-gallery" style="display:none;"></div>'); $(this).click(function(){ var target_gallery = $(this).parents('div.sqs-block').next('div.extra-gallery') if (target_gallery.is(':visible')){ $(this).text(SHOW_MORE); } else { $(this).text(COLLAPSE); } target_gallery.slideToggle(); return false; }); }); }); </script> 

  2. I want to create a carousel style preview for my blog on my websites homepage  (similar to this website https://www.taylranne.com) but have tried summary's and gallery's but can't seem to get a similar effect - any ideas?

  3. I'm looking to add the attached infographic to this webpage (under the Landfill section) but I ideally want to to have a hover feature. So when you 1st go on the page you will see the Infographic as seen in 'before' but when hovering over each circle the 'after' will appear- providing the user with more info on the circle that they hover over (10 in total- so 10 different hovers) I've made interactive hove tables before but never based on an image and help would be great!

    after.png

    before.png

  4. Where about in the code would this go? 

    Below is the html code I have so far, I'm wanting to have the BOLD TITLES on a separate title form the text but I can't seem to do this whilst maintainting the hover effect- any ideas?

     

    <div class="grid3">
         <div class="grid3-item">
            <h4 class="preFade fadeIn">
           
            </h4>
            <p class="preFade fadeIn">
              
              <br><br><a href="#lightbox_checks-all-the-boxes_#block-yui_3_17_2_1_1671041256442_413710">
             
               MADE TO ORDER
                
    Made in accordance with our customer's specifications to minimise wastage in production.</a></p>
          </div> 
          <div class="grid3-item">
            <h4 class="preFade fadeIn">
            
            </h4>
            <p class="preFade fadeIn">
              
              
              <br><br><a href="#lightbox_checks-all-the-boxes_#block-yui_3_17_2_1_1671041256442_426339">HAND CRAFTED
                
    Products and/or elements have been hand crafted by artisans to preserve craft traditions and support independent artisan businesses.</a></p>
          </div> 
          <div class="grid3-item">
            <h4 class="preFade fadeIn">
            
            </h4>
            <p class="preFade fadeIn">
              
              <br><br><a href="#lightbox_checks-all-the-boxes_#block-42da99d4a0e6627c7afe">ETHICAL
                
    Supply chain conforms with all relevant International Labour Organisation (ILO) policies surrounding child labour, workers rights, freedom of association, minimum wages and health & safety.</a></p>
          </div> 
         <div class="grid3-item">
            <h4 class="preFade fadeIn">
           
           </h4>
            <p class="preFade fadeIn">
              
              <br><br><a href="#lightbox_checks-all-the-boxes_#block-e7a6854510ee77df193c">ORGANIC
                
    Product is made up of >70% naturally occurring raw materials, without the use of chemical or other artificial elements.</a></p>
          </div> 
          <div class="grid3-item">
            <h4 class="preFade fadeIn">
            
            </h4>
            <p class="preFade fadeIn">
              
              <br><br><a href="#lightbox_checks-all-the-boxes_#block-4b50be3d262d44b57a30">FSC TIMBER
                
    Wood has been harvested in compliance with rules and regulations to protect our natural resources.</a></p>
          </div> 
          <div class="grid3-item">
            <h4 class="preFade fadeIn">
            
            </h4>
            <p class="preFade fadeIn">
              
              <br><br><a href="#lightbox_checks-all-the-boxes_#block-b5d38cf44218ea76dfc5">THOUGHTFUL FURNITURE
                
    Item is reclaimed, recycled or up cycled usually an Antique or Vintage item given a new life.</a></p>
          </div> 
    </div>

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.