Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- domain mask & javascript error


gunner - 8:02 pm on Dec 2, 2002 (gmt 0)


I have a subdomain that I'm using off of my primary and I added another domain name that I have the registrar masking so the subdomain has it's own .com URL. Here is the problem - my javascript menu no longer works when I enter through the masked domain name. I get an "access denied" error and it points me to line 2 as the error. I assume the script is trying to access the invisible frame laid in by the masking but how do I get to what I really want? Help!

1: var Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window;

2: var Doc=Par.document;


Thread source:: http://www.webmasterworld.com/javascript/235.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com