I have a link on a page...

    <a href="./admin/?listType=event_list&action=item_add" target=_blank>
       Add or Update Your Event
    </a>

This open the PHP file just fine and passes the vars fine.

But I need a new window to open via JavaScript. Why? Because I have a
"RETURN" link on the opening page that closes the child page, and if this
new window is not opened via JavaScript I get the "Close Window OK?" dialog.

The only way to not get that annoying dialog is to have that child window
opened via JavaScript.

So I did this...

    <a
href="javascript:window.open('./admin/?listType=event_list&action=item_add',
'', '');">
       Add or Update Your Event
    </a>

A child window opens, I get 1 error dialog and a Download dialog, and then
the page opens fine.

    error:
      IE cannot download calendar.php from window.open('...
      IE was not able to open this Internet site. The requested site is
either
      unavailable or cannot be found. Please try again.

I hit OK and both the error dialog and the download page goes away.

But the desired page is displayed in the child window!

And the "RETURN" link closes the window without complaint!

So, I've solved one issue to raise another.

Anyone have any idea on this?

Thanks

Walter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to