A
abhimanyumogal
Hello everyone,
I am using this code for the menu
//©Xara Ltd
if(typeof(loc)=="undefined"||loc==""){var
loc="";if(document.body&&document.body.innerHTML){var
tt=document.body.innerHTML;var
ml=tt.match(/["']([^'"]*)catlog.js["']/i);if(ml && ml.length > 1)
loc=ml[1];}}
var bd=1
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
document.write(".catlog_menu
{z-index:999;border-color:#FFFFFF;border-style:solid;border-width:"+bd+"px
0px "+bd+"px
0px;background-color:#FFFFFF;position:absolute;left:0px;top:0px;visibility:hidden;}");
document.write(".catlog_plain, a.catlog_plain:link,
a.catlog_plain:visited{text-align:left;background-color:#CBC9C9;color:#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("a.catlog_plain:hover,
a.catlog_plain:active{background-color:#636262;color:#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("a.catlog_l:link,
a.catlog_l:visited{text-align:left;background:#CBC9C9
url("+loc+"catlog_l.gif) no-repeat
right;color:#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("a.catlog_l:hover, a.catlog_l:active{background:#CBC9C9
url("+loc+"catlog_l2.gif) no-repeat right;color:
#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("\n-->\n");
document.write("</style>");
var fc=0xFFFFFF;
var bc=0x636262;
if(typeof(frames)=="undefined")
{
var frames=0;
}
startMainMenu("",0,0,1,0,0)
mainMenuItem("images/image_01_11",".gif",24,122,loc+"aboutus.asp","","Our
Company",2,2,"catlog_plain");
mainMenuItem("images/image_01_13",".gif",24,122,loc+"services.asp","","Services",2,2,"catlog_plain");
mainMenuItem("images/image_01_14",".gif",24,122,loc+"viewproducts.asp","","Products",2,2,"catlog_plain");
mainMenuItem("images/image_01_15",".gif",24,122,loc+"partnerlogin.asp","","Partner
Login",2,2,"catlog_plain");
endMainMenu("",0,0);
It is working on IE but not on Netscape.
Please help me
I am using this code for the menu
//©Xara Ltd
if(typeof(loc)=="undefined"||loc==""){var
loc="";if(document.body&&document.body.innerHTML){var
tt=document.body.innerHTML;var
ml=tt.match(/["']([^'"]*)catlog.js["']/i);if(ml && ml.length > 1)
loc=ml[1];}}
var bd=1
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
document.write(".catlog_menu
{z-index:999;border-color:#FFFFFF;border-style:solid;border-width:"+bd+"px
0px "+bd+"px
0px;background-color:#FFFFFF;position:absolute;left:0px;top:0px;visibility:hidden;}");
document.write(".catlog_plain, a.catlog_plain:link,
a.catlog_plain:visited{text-align:left;background-color:#CBC9C9;color:#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("a.catlog_plain:hover,
a.catlog_plain:active{background-color:#636262;color:#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("a.catlog_l:link,
a.catlog_l:visited{text-align:left;background:#CBC9C9
url("+loc+"catlog_l.gif) no-repeat
right;color:#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("a.catlog_l:hover, a.catlog_l:active{background:#CBC9C9
url("+loc+"catlog_l2.gif) no-repeat right;color:
#FFFFFF;text-decoration:none;border-color:#FFFFFF;border-style:solid;border-width:1px
"+bd+"px 0px "+bd+"px;padding:3px 0px 3px
0px;cursor:hand;display:block;font-size:8pt;font-family:verdana;
font-weight:600}");
document.write("\n-->\n");
document.write("</style>");
var fc=0xFFFFFF;
var bc=0x636262;
if(typeof(frames)=="undefined")
{
var frames=0;
}
startMainMenu("",0,0,1,0,0)
mainMenuItem("images/image_01_11",".gif",24,122,loc+"aboutus.asp","","Our
Company",2,2,"catlog_plain");
mainMenuItem("images/image_01_13",".gif",24,122,loc+"services.asp","","Services",2,2,"catlog_plain");
mainMenuItem("images/image_01_14",".gif",24,122,loc+"viewproducts.asp","","Products",2,2,"catlog_plain");
mainMenuItem("images/image_01_15",".gif",24,122,loc+"partnerlogin.asp","","Partner
Login",2,2,"catlog_plain");
endMainMenu("",0,0);
It is working on IE but not on Netscape.
Please help me