> 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]>
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to