Mike, as Hugo stated definately avoid frames for this tip.

Use the "OnRequestEnd.cfm" template.

Unlike the "Application.cfm" template, OnRequestEnd.cfm is executed AFTER
all other cfm templates. Very handy and I haven't worked out a better way to
use it from what you require.

In fact that is what I use for the "footer" at www.actcfug.com. There IS a
way to use it with frames but it usually requires using <CFABORT> at the end
of the template which probably isn't good practice - but it works at any
rate. You could use the <CFABORT> method at the end of a template in say a
small popup where your usual footer either does not "fit" or is not
appropriate.

HTH

Peter Tilbrook
ColdFusion Applications Developer
ColdGen Internet Solutions
Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com
4/73 Tharwa Road
Queanbeyan, NSW, 2620
AUSTRALIA

Telephone: +61-2-6284-2727
Mobile: +61-0439-401-823
E-mail: [EMAIL PROTECTED]

World Wide Web: http:/www.coldgen.com/
-----Original Message-----
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 9:36 PM
To: CF-Talk
Subject: Re: OT- Dynamic Page Layouts

Hugo

Thanks that is just what I needed.
  ----- Original Message -----
  From: Hugo Ahlenius
  To: CF-Talk
  Sent: Wednesday, November 05, 2003 2:52 AM
  Subject: Re: OT- Dynamic Page Layouts

  Two ways:

  * Frames, I think you should avoid it for this case.
  * CSS. I found a good way on the web somewhere (now link). You can look at
  the source and the css of this page, which uses a CSS method to do this:
  http://globalis.no/admin/

  -------------------------------------------------------------
  Hugo Ahlenius                  E-Mail: [EMAIL PROTECTED]
  Project Officer                Phone:            +46 8 230460
  UNEP GRID-Arendal              Fax:              +46 8 230441
  Stockholm Office               Mobile:         +46 733 467111
                                 WWW:       http://www.grida.no
  -------------------------------------------------------------

  ----------------------------
  | On Wednesday, November 05, 2003 05:50 [GMT+1=CET],
  | Mickael <[EMAIL PROTECTED]> wrote:

  | Hello All,
  |
  | This is not exactly a coldfusion question but does pertain to dynamic
  | site.  I have a site in CF that the client would like to include a
  | standard footer at the bottom of the page.  This works fine when the
  | content that is returned is more than once screen in my explorer
  | window at my resolution.
  |
  | The problem that I am having is that some of the pages have content
  | that is returned and it is a little bit less one screen so I see my
  | footer then the remainder of the screen below the footer which is not
  | what the client wants.
  |
  | Is there a way to handle this?
  |
  | Thanks
  |
  | Mike
  |
  |
  |


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to