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

Home Forums CSS AnythingSlider : Dynamic Height Re: AnythingSlider : Dynamic Height


Yes, I did. I uploaded the file to show it to you.
I am trying to center the first slide in between the menue bar and the purple footer – this works just when I refresh the browser.

This works fine because of the javascript – it takes 100% hight minus the hight of the menuebar minus the hight of the footer and sets this calculated hight as the hight of the DIV “platzhalter” which is in slide 1.

Now, because the first slide doesn’t fit to the always changing hight of DIV “platzhalter” my idea was to give the first slide a fix hight. Now I would change this hight with javascript to 100%-bar-footer – this would cause a centered div, am I right?

Maybe you find the mistake?

Thanks you so much! :)


EDIT: Forgot to post the link: