forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin <forr...@kegcl.demon.co.uk>
Subject Re: Views: <forrest:css> before <forrest:template ... head="true">
Date Mon, 10 Oct 2005 17:09:12 GMT
On Mon, 2005-10-10 at 10:30 +0200, Thorsten Scherler wrote:
> El sáb, 08-10-2005 a las 17:56 +0100, Kevin escribió:
> > Hi,
> > 
> > I've been implementing a theme (alternative css) switching idea which
> > appeared to work ok. I have done this before but not with Forrest.
> > 
> 
> :) Nice to hear, sounds cool.
> 
> > I've used <forrest:css ...> to define my style sheets and wrote a
> > simple <forrest:template ...  name="styleswitch" head="true"> to put
> > my javascript in page head.
> > 
> > So, logically in my fv file:
> > 
> > <forrest:css ...>
> > 
> > is before my javascript  
> > 
> > <forrest:contract name="styleswitch"/>
> > 
> 
> You mean your fv is like:
> ...
> <forrest:css ...>
> <forrest:contract name="styleswitch"/>
> ...

Yes

> > Unfortunately, for me :) the included javascript is placed before
> > included css in the generated pages. Is it possible to change this
> > behaviour to have css first as defined in the view file?
> > 
> > Thanks.
> 
> Yes, I will change it. Thanks.

Thanks Thorsten

> salu2


Mime
View raw message