This could mean that there is no window.opener (meaning the code exists on a page that wasn't opened by code on a previous page)
OR
it could mean that the window.opener is the top node and has no "top" (meaning that is isn't part of a framset)
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)
When I run the first page, I get the error I posted above pointing to:
setLayers(window.opener.top);
Could it be that I am getting this error because
function zoomToExtent(extent, token)has two parameters while the calling page this --> zoomToExtent(extent) has one?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.