Home › Forums › JavaScript › Dynamic Sidebar Height / Content Loading, Based on Page Height › Re: Dynamic Sidebar Height / Content Loading, Based on Page Height
October 22, 2010 at 5:07 pm
#77622
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.