A hyperilnk like this:
Where winopen() is like this:Code:<a href="#" onClick="javascript:winopen();"><img border="0" src="/images/tellafriend.gif" alt="Tell a Friend"></a>
Code:<script language="javascript"> function winopen(){ win = window.open("/tellafriend.php", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=300,height=160") } </SCRIPT>
Now, in that tiny little tellafriend.php window, how do I get a hold of the refering page?




Reply With Quote