Code_gate
02-07-2003, 08:03 PM
I have been working with the following bit of code:
var location=("http://" + theURL);
this.location.href = location;
which is embedded in the bottom frame of an HTA document. I want the URL, however, to display in the top frame (I'll call it "viewer"). I have tried using top.location.href instead, but it still loads the entire page. I have also tried parent.location.href and parent.viewer.location.href. to no avail.
I even thought that perhaps the HTA extension might be thr problem and switched it to HTML but still no luck.
Any ideas?
var location=("http://" + theURL);
this.location.href = location;
which is embedded in the bottom frame of an HTA document. I want the URL, however, to display in the top frame (I'll call it "viewer"). I have tried using top.location.href instead, but it still loads the entire page. I have also tried parent.location.href and parent.viewer.location.href. to no avail.
I even thought that perhaps the HTA extension might be thr problem and switched it to HTML but still no luck.
Any ideas?