Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > link to open i the main page

Reply
Thread Tools

link to open i the main page

 
 
lutra
Guest
Posts: n/a
 
      11-30-2003
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




 
Reply With Quote
 
 
 
 
Janwillem Borleffs
Guest
Posts: n/a
 
      11-30-2003

"lutra" <(E-Mail Removed)> schreef in bericht
news:3fc9da64$0$24702$(E-Mail Removed)...
>
> but the links still opens in the pop up...
>


In the popup:

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


JW



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to create a link "e-mail this page to a friend" on clicking this link i want to send the URL of that current page to a friend pavi Javascript 0 01-13-2006 12:10 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
Change main window href from IE search panel, after user has left my main page? Robert Oschler Javascript 1 10-12-2004 08:34 PM
int main(int argc, char *argv[] ) vs int main(int argc, char **argv ) Hal Styli C Programming 14 01-20-2004 10:00 PM



Advertisments