Running Bear
09-13-2002, 01:37 PM
I am attempting to reload a page within frames, but can't get ns6.1 or 6.2 to do it, can anyone see where I'm going wrong
ns4.7 and ie5.5+ are okay
var ns4 = (document.layers);
if (ns4) { //if NS4
// Check if the frame exists. Reload the lefthand menu, else do nothing
if (parent.toc) {
parent.toc.location.href ='fcont_toc.asp'
}
}
// Check if the frame exists. Reload the lefthand menu, else do nothing
if (parent.frames('toc')) {
parent.frames('toc').location.href='fcont_toc.asp'
}
Help would be greatly appreciated
Al
ns4.7 and ie5.5+ are okay
var ns4 = (document.layers);
if (ns4) { //if NS4
// Check if the frame exists. Reload the lefthand menu, else do nothing
if (parent.toc) {
parent.toc.location.href ='fcont_toc.asp'
}
}
// Check if the frame exists. Reload the lefthand menu, else do nothing
if (parent.frames('toc')) {
parent.frames('toc').location.href='fcont_toc.asp'
}
Help would be greatly appreciated
Al