Can anyone help me with this little problem:
Got a webpage (ASP) that when run, want it to navigate to a new page on the current window AND open up a popup to an alternate one.
At the moment I've got the following code:
Calling the "Open" first, which should open the popup website before executing the current window navigation.
But I'm not getting the popup. Any ideas on what I'm doing wrong?
Got a webpage (ASP) that when run, want it to navigate to a new page on the current window AND open up a popup to an alternate one.
At the moment I've got the following code:
PHP:
strLocation = "http://"
openlink(strLocation)
function openlink(link)
%>
<SCRIPT language='javascript'>
window.open('<%=strLocation%>');
window.navigate('index.asp?id=<%=Encrypt(id)%>');
</SCRIPT>
Calling the "Open" first, which should open the popup website before executing the current window navigation.
But I'm not getting the popup. Any ideas on what I'm doing wrong?