Forums

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

Home Forums JavaScript Anything Slider FX to resize panel

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43037
    margaux
    Participant

    I’m using the anythingSlider for two sections on [this site](http://www.articulate.uk.com “”) with the FX effect to resize the panel to accommodate the contents of each panel. Its a nice effect.

    I’m having trouble getting it to display as I’d like – the image is pushed down about 60px from the top of the panel container and I can’t see what is making that happen. I’ve tried putting a negative top margin on the container but then the content is pushed out of the bottom of the container by the same amount.

    Any suggestions on how to fix this? Thanks.

    #126441
    Paulie_D
    Member

    If I understand correctly you are talking about the Case Studies / Inspiration sections.

    It’s because you are relatively positioning the #caseCurrent div.

    When you use position:relative, the item is VISUALLY moved but browser still remembers that that space is allocated for the object.

    Just change it to position: absolute….that seems to work. You can tweak the left/top value if needed.

    #126476
    margaux
    Participant

    Yes, I should have known that! Thank you.

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