Jenda!
That is brilliant! I could never have thought of transfer through an
intermediary "form page". Thats really a great work-around.
I really appreciate your help, on a saturday and all. If you ever come to
Sweden I'll take you out for dinner.
Erik
>From: "Jenda Krynicky" <[EMAIL PROTECTED]>
>To: "Erik Andersson" <[EMAIL PROTECTED]>,
>[EMAIL PROTECTED]
>Subject: Re: Referrer url in pop-up windows?
>Date: Sat, 22 Sep 2001 23:20:46 +0200
>
> > Jenda,
> >
> > Thanks for your 2 suggestions. Unfortunately none of them work. I have
> > tried more or less every possible way to combine perl/html and
> > javascript without success. Seems impossible to transfer referrer url
> > between 2 popups.
> >
> > Erik
>
>I should have tried myself.
>
>But it IS possible (though a little tricky).
>
>================Main_doc.html =================
><html>
><script>
>function ShowAd() {
> window.open('auto_link.html', 'ad', 'width=200,height=200')
>}
></script>
><a href="JavaScript:ShowAd()">sdgdfg</a>
></html>
>============================================
>
>================auto_link.html==================
><head>
></head>
><body onLoad="document.frm.submit()">
>Wait a little ...
><form name=frm action="show_ref.asp"></form>
></body>
>============================================
>
>================show_ref.asp===================
><html>
><body>
><h1>Referer=<%=Request.ServerVariables("HTTP_REFERER")%>
></h1>
></body>
></html>
>============================================
>
>Try out these three (tested with MSIE 5).
>
>HTH, Jenda
>
>
>== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
>: What do people think?
>What, do people think? :-)
> -- Larry Wall in <[EMAIL PROTECTED]>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web