I have a script that sometimes will run inside an iframe an sometimes
not. How can i know if the script if running inside an iframe?

Another doubt, if the script is running inside the iframe how can i
redirect the parent window?

If I do Window.Location.assign("/newUrl") obviusly the content of the
iframe is redirected but I need to redirect the parent window of the
iframe.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to