Board Logo

problem with array in netscape 4x
stevman - 9/11/2002 at 09:12 AM

i have stolen the array function from online script and have buy the tigra menu pro version3. this function are very good and work in ie4-6, mozilla, opera but not in netscape4x. the netscape browser stand still by loading status 43%.

code example:

function wrap_child (text) {
var res = new Array();
for (var i=0; i res[i] = '

';
}
return res;
}

thanks for tips.
greetz >>> stevman


stevman - 9/11/2002 at 09:19 AM

i will not use the styles, my wrap_child function include a html table with standard color and only one table change the bgcolor.

greetz & thanx >>> stevman


tigra - 9/12/2002 at 07:00 AM

NS4.x is some hard case. It hungs up if finds something it can't understand. Try simplifying wrapper function to return text; and then add formatting by simple pieces checking if NS is still alive.

Note: you can waste a lot of time if you try new versions in the same NS window.
You should close the window after each unsuccessfull try and kill all NS processes that still can be running (Ctrl-Alt-Del then T, search for netscape, select it and push End Process, then open NS again and so on.)


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/