cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liam Morley <lmor...@WPI.EDU>
Subject testing against different versions of browsers
Date Thu, 16 Aug 2001 04:47:16 GMT
I understand that Cocoon gives you the power to use different stylesheets
for different browsers (code is included at bottom of email). However, I
don't see how you can test between different versions, ie between IE4,
IE5, IE5.5, NS4, or NS6. Is there a way to do this as well?

Thank you...

<map:select type="browser">
	      <!-- you could insert parameters here as well -->
	      <map:when test="explorer">
   	         <map:transform src="stylesheets/w3c-2-msie.xsl"/>
	      <map:when test="lynx">
	      <map:when test="netscape">
   	         <map:transform src="stylesheets/ns4.xsl"/>
   	         <map:transform src="stylesheets/w3c.xsl"/>

Liam Morley

"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message