Forum Moderators: open
I have a particular page in a frameset that I do not want exposed and web tv does just that.
I have this in the <head> and am trying to use meta refresh tags to redirect...it isnt working for some reason.
<SCRIPT LANGUAGE="JavaScript"><!--
if(navigator.appName.indexOf("WebTV") != -1) //WebTV detected
document.writeln("<meta http-equiv="refresh" content="0;URL=webtv_page.html">");
else //Non-WebTV detected.
document.writeln("<meta http-equiv="refresh" content="45;URL=super_duper_page.html">");
//-->
</SCRIPT>
if(navigator.appName.indexOf("WebTV") != -1) //WebTV detected
location.href="webtv_page.html";
else //Non-WebTV detected.
document.writeln(" ");
//-->
</SCRIPT>
This is freaking nn 4.76 out....do you see any reason why it might not work? Opera, ie5 and webtv all work fine with this.
I was taking with a guy I know in the northwest who said ms is toying with giving away the next webtv for free when you signup for msn. If that happens...wow. They just reported that msn has only been able to muster 5million subscribers. That is with their all out promotion blitz and give away for over two years.
<script language="JavaScript">
<!- hide from older browsers
if(navigator.appName.indexOf("WebTV") != -1)
//WebTV detected
window.location='http://www.anywhere.com/';
else
//non-WebTV detected
window.location='http://www.anywhere.com/';
//->
</script>
It should work.