Jump to content


Photo

"NewWin=window.open('http:// for php help please.


  • Please log in to reply
1 reply to this topic

#1 Rianna

Rianna
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 16 June 2006 - 05:23 AM

Hello, I was told I could use the window.open command in the php part of my form to open my thank you and error pages in a new window size. But how?

Here is the code that it might need to be something like.

"NewWin=window.open('http://www.mypagetha...ed.html/,NewWin'
width=620,height=390,');"

How can I add that to the code that look like this on my php page. I tried several but none of them worked....... Thank you very much! Jen

header('Location: [a href=\"http://www.moonbaby.info/linkexchange/main/exchangethankyou.html');\" target=\"_blank\"]http://www.moonbaby.info/linkexchange/main...you.html');[/a]
if (empty($_REQUEST['postit'])) {
header('Location: [a href=\"http://www.moonbaby.info/linkexchange/main/exchangeerror.html');}\" target=\"_blank\"]http://www.moonbaby.info/linkexchange/main...or.html');}[/a]

#2 Rianna

Rianna
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 16 June 2006 - 08:17 AM

If this doesn't work, any way to make an onclick to a new page size work with
a form action? Thank you.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users