Page 1 of 1

Template change with browser detection?

Posted: Thu 29. Oct 2009, 13:53
by foolevil
I have site where I need to change templates when IE7/IE6 browser is detected.
Any idea?

Re: Template change with browser detection?

Posted: Thu 29. Oct 2009, 19:48
by Heiko H.
Hi,

you can have special CSS, JS, HTML, ... in your template like this.

Code: Select all

<!--[if lte IE 7]>
  IE specific code
<![endif]-->
lte means less than or equal :idea:

By the way, it has nothing to do with phpwcms-support :idea:

Good luck, Heiko...