To repeat:

We are talking about two different things:

* If you want to have a strip of text on a page that is displayed on the
bottom of the browser window it does not matter where it is loaded (by an
IIS automatic include, OnRequestEnd.cfm or whatever) -- the display in the
client has to be done by a) Frames, or b) CSS. The method I described
works in modern browsers, and is ignored by older. (Personally - I have
stopped sending css to Netscape 4 clients, they just get the bare
contents).

* To have some code/display included with every request, yes then you can
use some IIS settings, Application/OnRequestEnd.cfm etc.

For the latter: there are a number of arguments against having display
code in those two files, which is a different discussion (I think there
should be loads of info if you search the archives of this list).

Cheers,
Hugo

-------------------------------------------------------------
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
-------------------------------------------------------------



| -----Original Message-----
| From: Gabriel Robichaud [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, November 05, 2003 15:26
| To: CF-Talk
| Subject: RE: OT- Dynamic Page Layouts
|
|
| IF its not good practice? What else do you suggest?
| Personally, I think css
| is quirky and causes more cross browser headaches than its
| really worth.
| Maybe my knowledge of css isn't wide enough to adequately
| implement them,
| but everything I have done/seen/read with css  basically ends
| up sounding
| like this : "You can do this, but not with that browser you
| need to do this
| instead but that won't work with version x.x" and it just
| goes on and on...
| I actually cfinclude my headers and footers in Application.cfm and
| OnRequestEnd.cfm  And I fail to see why this is such a bad
| idea? So I have
| decided to limit use of CSS in my sites to things that work on most
| browsers.
|
|
|
| -----Original Message-----
| From: Hugo Ahlenius [mailto:[EMAIL PROTECTED]
| Sent: November 5, 2003 6:30 AM
| To: CF-Talk
| Subject: RE: OT- Dynamic Page Layouts
|
| Note that it is not good practice to use OnRequestEnd.cfm for
| any display
| outputs. (The same goes for Application.cfm)
|
| I understood that the Mickael's problem was not how to get something
| appended to every called template, rather how to get a
| display piece to be
| presented at the bottom of the browser window (no matter what
| template is
| called).
|
| /Hugo
|
|
| -------------------------------------------------------------
| 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
| <http://www.grida.no>
| -------------------------------------------------------------
|
|
|
| | -----Original Message-----
| | From: Peter Tilbrook [mailto:[EMAIL PROTECTED]
| | Sent: Wednesday, November 05, 2003 11:47
| | To: CF-Talk
| | Subject: RE: OT- Dynamic Page Layouts
| |
| |
| | 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 <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/ <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
| <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