Results 1 to 10 of 10

Thread: document.referer? *resolved*

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    document.referer? *resolved*

    A hyperilnk like this:

    Code:
    <a href="#" onClick="javascript:winopen();"><img border="0" src="/images/tellafriend.gif" alt="Tell a Friend"></a>
    Where winopen() is like this:

    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?
    Last edited by mendhak; Jan 28th, 2003 at 06:48 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width