je*********@hotmail.com wrote:
<script language="javascript">
Language attribute is deprecated.
<script type="text/javascript">
myURL = window.opener.location.href
if (window.opener)
myURL = window.opener.location.href;
//the above line fails if window.opener
//is from a different domain from the
//current page.
if (myURL == "http://www.xxx.com/")
{
window.opener.location.reload()
}
</script>
This only owrks if you opened the pop up using the window.open function.
It only works if you opened the popup using window.open *and* the two
pages are in the same domain.
But, quoting what you are replying to *always* works and lets people
know what you are replying to. Read all about it in the group FAQ.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?