forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Views: <forrest:css> before <forrest:template ... head="true">
Date Mon, 10 Oct 2005 08:30:37 GMT
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"/>
...

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

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message