Okay... I think we're closer. Those tags were indeed missing-- Might have been deleted before. I added the <body> and </head> tags.
The problem is definately here, in this javascript:
**************************
function WM_initializeToolbar(){
var i;
if (document.all){
for(i = 0; i < document.all('container').all.length; i++){
if ((document.all('container').all.className == 'header') ||
(document.all('container').all.className == 'links')){
document.WM.menu.dropdown[document.WM.menu.dropdown.length]
= document.all('container').all;
}
}
} else if (document.getElementsByTagName && document.getElementById){
var contained =
document.getElementById('container').getElementsByTagName('div');
for(i = 0; i < contained.length; i++){
if ((contained.getAttribute('class') == 'header') ||
(contained.getAttribute('class') == 'links')){
document.WM.menu.dropdown[document.WM.menu.dropdown.length]
= contained;
}
}
}
}
**************************
Problem is with the pipes "||".
So... After testing, I found the javascript does not like "or" in place of the pipes [as suggested in an earlier post].
Also tried replacing all the CGI pipes "|" with "~" ... The html.db errored-out when I tried that.
Question: I need a workaround here. Looks like the pipes MUST stay in the javascript.
I've attached my html.pl [store_html.pl].
You'll notice a java error when you launch the page. That is due to the above javascript erroring out. [This particular javascript executes the nav tree menu in the left column. Everything else on the page works fine.]
As mentioned, the same javascripts work fine in links.
Thanks!
The problem is definately here, in this javascript:
**************************
function WM_initializeToolbar(){
var i;
if (document.all){
for(i = 0; i < document.all('container').all.length; i++){
if ((document.all('container').all.className == 'header') ||
(document.all('container').all.className == 'links')){
document.WM.menu.dropdown[document.WM.menu.dropdown.length]
= document.all('container').all;
}
}
} else if (document.getElementsByTagName && document.getElementById){
var contained =
document.getElementById('container').getElementsByTagName('div');
for(i = 0; i < contained.length; i++){
if ((contained.getAttribute('class') == 'header') ||
(contained.getAttribute('class') == 'links')){
document.WM.menu.dropdown[document.WM.menu.dropdown.length]
= contained;
}
}
}
}
**************************
Problem is with the pipes "||".
So... After testing, I found the javascript does not like "or" in place of the pipes [as suggested in an earlier post].
Also tried replacing all the CGI pipes "|" with "~" ... The html.db errored-out when I tried that.
Question: I need a workaround here. Looks like the pipes MUST stay in the javascript.
I've attached my html.pl [store_html.pl].
You'll notice a java error when you launch the page. That is due to the above javascript erroring out. [This particular javascript executes the nav tree menu in the left column. Everything else on the page works fine.]
As mentioned, the same javascripts work fine in links.
Thanks!