<script> if(navigator.appName =="Microsoft Internet Explorer") { blah blah } else if(navigator.appName =="Netscape") { blah blah } </scipt> >From: "Cyber Sagar" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: JavaScript problem. please help me. >Date: Thu, 14 Mar 2002 00:46:47 +0900 > >Dear friends, >I have a strange problem. please help me > >I have to execute 2 scripting files in a html page (One is compatible for >Internet explorer and anotherone is for netscape) >ie.js >netscape.js >how can i call these 2 scripts in my html file to make compatible for both >IE and Netscape. >I have to use only one html file to run these scripts in their respective >browsers >My code in html page is like this.. (menu.html) > > ><!--First script for IE--> > ><script language="JavaScript" src="ie.js"> ></script> ><script language="JavaScript"> > new menu (MENU_ITEMS, MENU_POS1, MENU_STYLES1); ></script> > > ><!--Second script for NetScript--> > ><script language="JavaScript" src="netscape.js"> ></script> ><Body leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" >marginheight="0" onLoad="writeMenus()"> > >====================================== >end >====================================== > >if i execute these scripts individually, these are working. > >please help me how can i execute netscape.js in netscape browser and ie.js >in internet explorer, with this single html file. > >Your kind cooperation would be greatly appreciated. > >Thanks in advance. > >Yours >Sagar ><< winmail.dat >> >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]>
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>