What do you want the sidebar to do? What's wrong with what it does now? /John
----- Original Message ----- From: "Nicholas Froome" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 7:57 PM Subject: Witango-Talk: Building appropriate page heights on dynamic pages > 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
