Forum Moderators: open

Message Too Old, No Replies

how to remove URL in popup window title

popup window title remove

         

jackd

7:50 pm on Jan 13, 2004 (gmt 0)

10+ Year Member



Hey all ... your guidance would be appreciated on the below, Jack

Q: From my website I am calling a php script on an external website in a popup window. It looks good but unfortunately despite my best attempts I don't seem to be able to remove the external sites URL from the titlebar of the popup. I am using the code fragment below :

<form name="form" method="post" action="http://www.example.com/signup.php" target="examplesignupform" onsubmit="window.open('about:blank','examplesignupform','width=700, height=400, titlebar=no, location=no, status=no, menubar=no, resizable=yes, scrollbars=yes');">

[edited by: korkus2000 at 2:34 am (utc) on Jan. 14, 2004]
[edit reason] examplified URL [/edit]

jatar_k

2:28 am on Jan 14, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld jackd,

The only thing I can think of is to load the script into a frame or to include it and strip out the code you don't want using curl or php.

jackd

12:29 pm on Jan 14, 2004 (gmt 0)

10+ Year Member



thanks for that mate. Not really clear what you mean as I am fairly new to web programming.

The script I am calling is on a commercial server which I don't control and can't edit, so I need to override it's title field while calling it? Is this possible

jatar_k

12:15 am on Jan 15, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If you load it into a frame the outside page would still have your title. You could have a frameset with 1 frame at 100%.

That should work well enough.