[snip]
[color=blue][color=green]
> > Right, I know this, but the error message is pretty vague (for us[/color][/color]
javascript[color=blue][color=green]
> > newbies).[/color]
>
> Is it? It's telling you that access to the variable you're after is
> denied. That's pretty much it.[/color]
Yes, it really is!! The message does not say access is denied *or why*, it
says "top.frames.xxx" is null or not an object (which is correct) -- but to
a newbie it *is* an object. Of course, once one understands the intricacies,
interactions, and security features of javascript (i.e., gets more and more
experience) this stuff becomes known and remembered.
[snip]
[color=blue][color=green]
> > and as
> > this is a different domain I cannot alter the frame contents. Am I[/color][/color]
correct[color=blue][color=green]
> > so far?[/color]
>
> No. You can alter the *frame* contents (ie. load another document into
> the frame) but you can't alter the content of a document that's already
> in the frame if that document is from another domain.[/color]
Well, excuse me for being a little dense here, but while index2.htm is
loaded from a forwarded domain, the frame contents are loaded from the main
domain. I guess I'm just not understanding exactly what is transpiring
during this sequence of events :-( Hopefully the light will come -- and
soon I hope.
[color=blue][color=green]
> > Could the initial index2.htm page load a page from[/color][/color]
www.ccthecomputerguy.com[color=blue][color=green]
> > which could then load the frames and avoid this problem?[/color]
>
> If they're both your domains why bother with all this cross-domain crap.
> Structure the site properly and run it from the same domain.[/color]
I explained the reason why in my initial post. I have no idea what
"structure the site properly" means. Everything on my site WAD except this
frame issue.
Hopefully, I'll come up with a solution.
Thanks for your time and patience.
Charles...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.683 / Virus Database: 445 - Release Date: 5/12/04