>Ok, perhaps my question wasn't specific enough... > >Since there isn't enough content to fill the sidebar for the full length of >the page, what do you want it to do. The sidebar doesn't have any >background color to it, so do you just want to extend the blue border all >the way to the bottom? > >If so, reorganize your table structure so that the border in the sidebar >area "stretches" if the main content area has more content in it.
John - that's precisely it - I want to stretch the sidebar I'm looking for a quick & dirty way - and it doesn't have to be too accurate - of calculating the length of the main body and using this value to extend the sidebar by adding extra sections I can create extra sidebar sections (Book section, Links section, Clubs section, etc) and add them as necessary I could do it by looking at the number of results from the search, and using a bunch of If statements to add extra sidebar sections, but I wondered if there's a more elegant solution that someone's thought up. I'm sure someone's tackled this before... > > >What do you want the sidebar to do? What's wrong with what it does now? >> >> >> I want the height of the sidebar to match that of the main content in the >body of the page. This height is variable - as detailed below >> >> >> >> > > Has anyone thought about ways to calculate the height of pages on >> >dynamically-generated sites? I'd like to offer a sidebar height that >> >"tracks" the height of the results by adding additional sidebar sections >as >> >required >> >> >> >> Some of our pages are long as they show 10 or 20 results from a >database >> >search. For example: >> >> >> >> http://www.bolide.co.uk/actions/directory.taf?_function=WOWlist >> >> >> >> This page will always be long as there are (and always will be) more >than >> >enough results to fit the page. As you can see the left-hand sidebar >stops >> >half-way down the page >> >> >> >> >> >> Some pages will always be short, like >> >> >> >> http://www.bolide.co.uk/actions/addsubscriber.taf >> >> >> >> >> >> And some pages will be of variable length, dependent on how many >results >> >the search provides >> >> >> >> >> >> Any thoughts on ways to track the resulting page height? I can count >the >> >number of records returned in a search but this isn't always an totally >> >accurate guide as some entries take up more space than others >> >> >> >> I don't want to use frames. Currently the sidebars come straight out of >> >tango variables and their content is dynamically-generated. All pages are >> >dynamic. the site is built on Filemaker so super-complex calculations are >> >out... >> >> >> >> Ideally I would add a simple calc to the sidebar; this would mean the >page >> >templates wouldn't need altering >> >> >________________________________________________________________________ >> >> TO UNSUBSCRIBE: send a plain text/US ASCII email to >[EMAIL PROTECTED] >> >> with unsubscribe witango-talk in the message body >> > >> >________________________________________________________________________ >> >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] >> > with unsubscribe witango-talk in the message body >> >> ________________________________________________________________________ >> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] >> with unsubscribe witango-talk in the message body > >________________________________________________________________________ >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
