Announcement

Collapse
No announcement yet.

Filtering sidebar fade in

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Filtering sidebar fade in

    Hi all. Does anyone know how to find the code that controls the sidebar fade-in? (see ezample https://www.harveymaps.co.uk/acatalo...land-maps.html)

    I don't mind the transition but I think it is a little too slow and would like to alter the timing of it or have the option to turn it off. As far as I can tell, there are no obvious CSS properties that would trigger it.

    Thanks

    #2
    Design / Library / Layouts / JavaScript Header Functions / Javascript Footer Functions Swift / around line 19:
    Code:
    $("#productFiltersLeft .sidebar-filter-element form").css({opacity: 0.0, visibility: "visible"}).animate({opacity: 1}, 4000);
    Change that 4000 (it's in milliseconds).
    Or, like SellerDeck should have done, create a new Variable e.g. SideBarFadeIn and use that.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi Norman, that's great, thank you for your help. I appreciate it. I'll create a variable to control it. Javascript is certainly not one of my strengths!

      Comment


        #4
        Many thanks Norman, that has also been bugging me.
        Regards

        Jason

        Titan Jewellery (Swift Design)
        Zirconium Rings
        Damascus Steel Rings

        Comment


          #5
          The fade does add a dynamic feel but as said it is too long. I agree with it being a variable setting but I am just going to make the value half at 2000 or 2 seconds for now.

          Comment

          Working...
          X