Okay this is what I have so far (for my 1mngen.js file)
var color_num5 = "#FFFFFF"
var color_num6 = "#000000"
function DetectOS() {
if(navigator.userAgent.indexOf('Linux') != -1)
{ var OpSys = "Linux"; }
else if((navigator.userAgent.indexOf('Win') != -1) &&
(navigator.userAgent.indexOf('95') != -1))
{ var OpSys = "Windows95"; }
else if((navigator.userAgent.indexOf('Win') != -1) &&
(navigator.userAgent.indexOf('98') != -1))
{ var OpSys = "Windows98"; }
else if(navigator.userAgent.indexOf('Win') != -1)
{ var OpSys = "Windows3.1 or NT"; }
else if(navigator.userAgent.indexOf('Mac') != -1)
{ var OpSys = "Macintosh"; }
else { var OpSys = "other"; }
return OpSys;
}
var OpSys = DetectOS();
if(navigator.userAgent.indexOf('Netscape6.0') != -1){isNS = 1}else{isNS = 0}
if(parseInt(navigator.appVersion) >= 4 && OpSys != "Linux" && OpSys != "Macintosh" && OpSys != "other" && isNS != 1){greenlight = true}else{greenlight = false}
var ie = document.all ? 1 : 0
var ns6 = (document.getElementById&&!document.all) ? 1:0
if(ns6){doc = "document.getElementById"; sty = ""}
if(ie){doc = "document.all."; sty = ".style"}
menucontent = new Array()
menustatus = new Array()
menutimer = new Array()
menuhues = new Array()
for(blip=0; blip<1000; blip++){
menutimer[blip] = ""
menucontent[blip] = ""
}
slash = "/"
start = "<"
fnctn = "func"
nmos = " onMouse"
open_c = "("
open_cc = "{"
function createContent(huh, MenuID, V, Link_info, URL_info){
if(huh == "add"

{
menucontent[V] = menucontent[V] + '<TR><TD align=center CLASS="' +MenuID+ 'cell" onMouseover="mOver(this, ' +
"'"+ color_num6 +"'"+ ')" onMouseout="mOut(this, ' +"'"+ menuhues[V][0] +"', " +"'"+ menuhues[V][2] +"'" + ')" onMouseDown="mDown(this, ' +
"'"+ color_num6 +"'"+')" onMouseUp="mUp('+ "'" +URL_info+ "'" +')">' + '<A HREF="'+ URL_info +'" onFocus="this.blur()" CLASS="' +
MenuID+ 'link"><B> '+Link_info+'</B></A></TD></TR>'}
}
function mOver(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = color_num5;}
function mOut(elem, clr, clr2)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = clr2;}
function mDown(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = color_num5;}
function mUp(path)
{location.href = path;}
function createMenu(MenuID, V, fromtop, fromleft, divWidth, max_drop, topclip, Title){
document.write('<style type="text/css">#', MenuID, '{position:absolute; width:', divWidth,
'px; top:', fromtop, 'px; left:', fromleft, 'px; clip:rect(0,', divWidth, ',', topclip, ',0); z-index:3; visibility:visible} ',
'.', MenuID, 'table{BACKGROUND-COLOR: #ffffff;} ',
'.', MenuID, 'neutral{CURSOR: Default;} ',
'.', MenuID, 'cell{BACKGROUND-COLOR: ', menuhues[V][0], '; COLOR: #000000; CURSOR: Default; font-family: arial; font-size: 8pt} ',
'.', MenuID, 'link{COLOR: ', menuhues[V][2], '; TEXT-DECORATION: none; CURSOR: Default;} ',
'</style>',
'<div ID=', MenuID,
' onMouseover="', 'scrolldown(', "'", MenuID, "'", ", '", V, "' ", ", '", divWidth, "' ", ', ', max_drop, ')"',
' onMouseout="', 'scrollup(', "'", MenuID, "'", ", '", V, "' ", ", '", divWidth, "' ", ')">',
start, 'SCR', 'IPT', '>',
fnctn, 'tion', nmos, 'Over', open_c, ') ', open_cc, 'scrolldown', open_c, "'", MenuID, "'", ", '", V, "' ", ", '", divWidth, "' ", ', ', max_drop, ')', '}',
fnctn, 'tion', nmos, 'Out', open_c, ') ', open_cc, 'scrollup', open_c, "'", MenuID, "'", ", '", V, "' ", ", '", divWidth, "' ", ')', '}',
start, slash, 'SCR', 'IPT', '>',
'<table border="0" width=', divWidth, ' cellspacing="0" cellpadding="0" bgcolor="#ff0000">',
'<tr>',
'<td width="100%">',
'<table border="0" width="100%" cellspacing="1" cellpadding="2">',
'<tr>',
'<td CLASS="', MenuID, 'neutral" width="100%" bgcolor="', menuhues[V][1], '"><b><font color="', menuhues[V][3], '" face="Arial" size="2"> ', Title, '</font></b></td></tr>',
menucontent[V], '</table>',
'</td>',
'</tr>',
'</table>',
'</div>')
}
function scrolldown(MenuID, V, divWidth, max_drop)
{
if(menustatus[V] < max_drop){
clearTimeout(menutimer[V])
menustatus[V]+=22
if(ie){eval("document.all."+MenuID+".style"

.clip="rect(0,"+ divWidth +","+ menustatus[V] +",0)"}
else{eval("document.getElementById"+MenuID+".clip.bottom="+menustatus[V])}
menutimer[V]=setTimeout('scrolldown("' +MenuID+ '", ' +V+ ',' +divWidth+ ',' +max_drop+ ')',5)}
}
function scrollup(MenuID, V, divWidth)
{
if(menustatus[V] > 22){
clearTimeout(menutimer[V])
menustatus[V]-=22
if(ie){eval("document.all."+MenuID+".style"

.clip="rect(0,"+ divWidth +","+ menustatus[V] +",0)"}
else{eval("document.getElementById"+MenuID+".clip.bottom="+menustatus[V])}
menutimer[V]=setTimeout('scrollup("' +MenuID+ '", ' +V+ ',' +divWidth+ ')',5)}
}
Where do i put your string for Ns6?
Do i replace:
if(ns6){doc = "document.getElementById"; sty = ""}
if(ie){doc = "document.all."; sty = ".style"}
these two lines with the one you posted?
I have already done so, and the menu disappears.
If i keep it as is, the menu is still there, the drop down topics are still invisible.
Also, what am I supposed to alter in:
if(ie){do something}
else if(ns4){something else}
else if(ns6)
{
el = document.createElement('DIV')
el.style.width=whatevernum+"px"
el.style.left="20px"
el.style.top="100px"
el.innerHTML=menu_content
document.body.appendChild(el)
}
So that it fits (like the first line... {do something} i hope that you mean that I keep the original line that it calls for)
And again, any changes (like the one just above)
makes my second java file 2mnrec.js not work.