Re: OT- Dynamic Page Layouts

2003-11-05 Thread Hugo Ahlenius
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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+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]




Re: OT- Dynamic Page Layouts

2003-11-05 Thread Mickael
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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+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]




RE: OT- Dynamic Page Layouts

2003-11-05 Thread Peter Tilbrook
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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+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]




RE: OT- Dynamic Page Layouts

2003-11-05 Thread Hugo Ahlenius
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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+46 733 467111
 WWW: 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
| 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 AhleniusE-Mail: [EMAIL PROTECTED]
|Project Officer Phone:+46 8 230460
|UNEP GRID-ArendalFax:+46 8 230441
|Stockholm OfficeMobile:+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]




Re: OT- Dynamic Page Layouts

2003-11-05 Thread Mickael
Thanks Hugo,

That is correct, my footer file is displaying properly.But I would like it to be displayed at the bottom of the brower window when there isn't enough content on the page to fill up the browser window.

I am actually trying to get away from application.cfm the use of it has been causing me some headaches in a couple of app that I have running.
- Original Message - 
From: Hugo Ahlenius 
To: CF-Talk 
Sent: Wednesday, November 05, 2003 6:30 AM
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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+46 733 467111
WWW: 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
| 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 AhleniusE-Mail: [EMAIL PROTECTED]
|Project Officer Phone:+46 8 230460
|UNEP GRID-ArendalFax:+46 8 230441
|Stockholm OfficeMobile:+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]




RE: OT- Dynamic Page Layouts

2003-11-05 Thread Peter Tilbrook
Agreed - came in late after no email for 4 days. Depending on the web server
this is possible (footer), IIS offers it but never tried it - but in a
shared environment it could be awkward. Does it need to be dynamic or just
static?

Cheers!



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


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




Re: OT- Dynamic Page Layouts

2003-11-05 Thread Doug White
You can assign footer files in IIS, especially in a shared environment.You can
even set up a different footer file for each virtual host on the shared server.
The good part about doing it this way is that the displayed footer will
automatically adjust to the page size., thus eliminating the whitespace inherent
on a dynamically created page.The con would be that the footer would be
displayed on every page that site renders., but perhaps that is what you want to
do.

==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and all databases.
Suggested corporate Anti-virus policy: http://www.dshield.org/antivirus.pdf
==
If you are not satisfied with my service, my job isn't done!

- Original Message - 
From: Peter Tilbrook [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 6:58 AM
Subject: RE: OT- Dynamic Page Layouts

| Agreed - came in late after no email for 4 days. Depending on the web server
| this is possible (footer), IIS offers it but never tried it - but in a
| shared environment it could be awkward. Does it need to be dynamic or just
| static?
|
| Cheers!
|
| 
|
| 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
|
|
|
| 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT- Dynamic Page Layouts

2003-11-05 Thread Gabriel Robichaud
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 cssbasically 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.cfmAnd 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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+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 AhleniusE-Mail: [EMAIL PROTECTED]
|Project Officer Phone:+46 8 230460
|UNEP GRID-ArendalFax:+46 8 230441
|Stockholm OfficeMobile:+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]




RE: OT- Dynamic Page Layouts

2003-11-05 Thread Hugo Ahlenius
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 AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+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 cssbasically 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.cfmAnd 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 AhleniusE-Mail: [EMAIL PROTECTED]
| Project Officer Phone:+46 8 230460
| UNEP GRID-ArendalFax:+46 8 230441
| Stockholm OfficeMobile:+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

RE: OT- Dynamic Page Layouts

2003-11-05 Thread Mike Kear
Two ways to achieve what Mickael wants.Remember that Mickael's problem
was NOT how to include the code on the page ,but how to make sure it always
appears at the lowest point on the page.So he has a layout issue, not a
CF Inclusions issue.

Method [a]:CSS.Use a DIV=footer tag around the footer text and
absolute positioning in the stylesheet so that it's positioned at the bottom
of the window.If you don't want to use the modern way to position elements
on a page, you'll have to divide up the page using tables...

Method [b]Use a table for the overall page structure like this (simplified
somewhat for clarity):

.!--- header include starts here . ---
.body
.table
.tr
 .td colspan=3
	 Header stuff- logo, images, etc. 
 ./td
./tr
.!--- header include ends here . ---

.!--- Left nav include starts here . ---
.tr
 .td Left nav bar contents/td
 .td
.!--- Left nav include ends here . ---
 
 
 Main body of the page - the big box in the middle of the window
 
.!--- Right column include starts here . --- 
 ./td
 .tdRight Column contents/td
./tr
.!--- Right column include Ends here . --- 

.!--- Footer include starts here . --- 
.tr
 .td colspan=3
		Footer stuff- a footer include file
 ./td
./tr
./table
./body
./html


Cheers,
Michael Kear
Windsor, NSW, Australia
AFP Webworks.


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




Re: OT- Dynamic Page Layouts

2003-11-04 Thread Doug White
If you are using IIS, there is a check box in the configuration that will add a
footer to the bottom of each page.
All you have to do is to create an HTML snippet, and the server will add it
automatically

==
Stop spam on your domain, use our gateway!
For hosting solutions http://www.clickdoug.com
Featuring Win2003 Enterprise, RedHat Linux, CFMX 6.1 and all databases.
Suggested corporate Anti-virus policy: http://www.dshield.org/antivirus.pdf
==
If you are not satisfied with my service, my job isn't done!

- Original Message - 
From: Mickael [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 10:50 PM
Subject: OT- Dynamic Page Layouts

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