Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Different code for different browsers - July 14, 1998 at 10:50:08

You are here: irt.org | BBS | Different code for different browsers [This BBS is closed]

Posted by Michelle on July 14, 1998 at 10:50:08:

I have been trying to write code to use different framesets, depending on if it is Netscape or Internet Explorer. Is there a way to do this without having to create two seperate pages?

The code I have been using is:

var Name= navigator.appName
if ( Name=="Microsoft Internet Explorer")
{
"posting my frame set here";
}

else
{
"posting frame set here";
}


I am getting an error because I am putting the HTML code in the JavaSCripting.
Follow-ups:

You are here: irt.org | BBS | Different code for different browsers [This BBS is closed]

©2018 Martin Webb