470,613 Members | 2,198 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

link to open i the main page

Hi all,
I have a page with a search form that pop ups the results in a pop up page.

I would like to open the results links not in the pop upwindow, but in the
main page.
Actually my code is this.
In the form:

<form action="results.cfm" method="post" name="pes" target="nw"
onsubmit="window.open('','nw','scrollbars=yes,resi zable=yes')">
....
....
</form>

In the pop up:

<head>
<script language="JavaScript">
function loadurl(url){
window.creator.location=url
}
</script>
</head>
....
....
<a href="#url#" target="_top" style="color: ##525252"
onClick="loadurl(this.href);return false">#Summary#</a>
....
....
but the links still opens in the pop up...

suggestions?
Thanks in advance


Jul 20 '05 #1
1 1471

"lutra" <gi*************@NOSPAMnetcabo.pt> schreef in bericht
news:3f***********************@news.telepac.pt...

but the links still opens in the pop up...


In the popup:

function loadurl(url){
opener.location=url
}
JW

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

26 posts views Thread by Harrie | last post: by
3 posts views Thread by JohnEGee | last post: by
14 posts views Thread by Steve McLellan | last post: by
2 posts views Thread by Jean-Yves | last post: by
6 posts views Thread by Rod Snyder | last post: by
6 posts views Thread by zino | last post: by
1 post views Thread by michal.podlewski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.