Re: Tapestry5 and css in IE6 and IE7

2008-08-09 Thread Argo Vilberg
Ok thanx.

This version works very well!


package ee.softpro.components;

import org.apache.tapestry5.annotations.BeginRender;
import org.apache.tapestry5.annotations.AfterRender;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.MarkupWriter;

public class ConditionalComments {


@Parameter(required=true,defaultPrefix="literal")
private String _condition;

@BeginRender
private void beginRender(MarkupWriter writer) {
writer.writeRaw("");
}

}




   



   




$(document).ready(function(){
$("#container").prepend('
Kasutate aegunud brauserit (Internet Explorer 6), palun uuendage versioonile 7 vƵi vahetage http://www.firefox.com";>Mozilla Firefoxi vastu. sulge [X]
').css("display", "none").slideDown("10");}); Argo 2008/8/5 Christian Gorbach <[EMAIL PROTECTED]> > hi, > search for 'conditional comment' in the list archives.. > the solution is to write a tiny custom component. > c)hristian > > > hi, >> >> >> In my web application are different css for IE6 and IE7. >> >> >> > href='${asset:context:css/main.css}' /> >> >> >> >> >> >> But IF IE7 and If IE6 are ordinary html comments, thats only browser >> understands. >> >> >> But Tapestry does not. >> >> >> Becouse of tapestry wants ${asset:context:css/main.css} to include css >> file, >> i have no chance to include ie7.css or ie6.css. >> >> >> >> >> Any ideas? >> >> >> >> Argo >> >> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Re: Tapestry5 and css in IE6 and IE7

2008-08-05 Thread Christian Gorbach

hi,
search for 'conditional comment' in the list archives..
the solution is to write a tiny custom component.
c)hristian


hi,


In my web application are different css for IE6 and IE7.








But IF IE7 and If IE6 are ordinary html comments, thats only browser
understands.


But Tapestry does not.


Becouse of tapestry wants ${asset:context:css/main.css} to include css file,
i have no chance to include ie7.css or ie6.css.




Any ideas?



Argo

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]