Debugging output from older DHTML...

User 2938209 Photo


Guest
1 post

I am trying to get some older Javascript from the
CoffeeCup DHTML Menu Editor to go again.

Years ago, I worked out that if I swapped
DcLoc.location.href=this.LinkTxt
//with
DcLoc.parent.frames[x].window.location.href=this.LinkTxt;
I could get things to work cross browser.
Nowadays, it seems that applying the Javascript is a little different.
My problem, to start, is this.
I find that when I apply my menu, I get a warning that
this line can't run anymore. Around 150 inside my web page.

var Doc=Par.document.documentElement;

Can someone reply with one line so that I can directly substitute
for this instruction to get things working again?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.