Forums

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

Home Forums JavaScript Dynamic Sidebar Height / Content Loading, Based on Page Height Re: Dynamic Sidebar Height / Content Loading, Based on Page Height

#77622
ImpInaBox
Member

Probably best to use Javascript. Deliver the whole content of the website – either PHP or fixed HTML pages – and then have a javascript function check the available height and set style.display.none for any content items you don’t have room for. That way the content is still there in the page for search engines to see but the extra bits just won’t be visible if there’s not enough room.