Forum Moderators: coopster & phranque

Message Too Old, No Replies

ssi call browser specific files

show deferent menue for webtv

         

iggy99

5:04 pm on Mar 9, 2001 (gmt 0)

10+ Year Member



we are using an ssi call for a file, memue.txt for one of our menues...

is it possible to pull in a file based on browser type?

our menue is a java and does not work on web tv...

any ideas?

our current call tag <!--#include virtual="rs_menue.txt" -->

littleman

5:50 pm on Mar 9, 2001 (gmt 0)



You could do something like this:
<!--# if expr="\"$HTTP_USER_AGENT\" != /Opera¦WebTV¦Mozilla/" -->
<!--#include virtual="rs_menue.txt" -->
<!--# endif -->

iggy99

8:15 pm on Mar 9, 2001 (gmt 0)

10+ Year Member



we have two files...

one for web tv one for regular browsers...

how can we put in a tag that could make a choice and load the appropriate file?

many thanks

littleman

8:33 pm on Mar 9, 2001 (gmt 0)



<!--# if expr="\"$HTTP_USER_AGENT\" = /^WebTV/" -->
<!--#include virtual="webtv.txt" -->
<!--#else -->
<!--#include virtual="other.txt" -->
<!--#endif -->