If you're using document.write, make sure you have document.close.

As an fyi, the general direction is away from document.write, and more 
to direct manipulation of the DOM, adding, inserting, removing elements.

  ~ ~ Dave

The Editor wrote:
> Been trying to improve the ZAPcart script to make it a little easier
> to use and more configurable.  Anyway, I embed the following lines in
> a PmWiki page and have them triggered when they click the paypal
> button.  Works fine in FireFox, but in IE7 it popus up the window--but
> with no content.
> 
> It was working before, but don't know what I did.  It all looks good...
> 
> <script language=JavaScript>
> function payment(amount) {
>       paypal = 
> window.open('','','width=780,height=540,resizable=yes,scrollbars=yes,toolbar=no,location=yes,directories=yes,status=yes,menubar=yes,coyphistory=yes');
>       paypal.document.write('<html><body 
> onload=document.paypalform.submit()>');
>                 etc...
> 
> Any ideas?
> 
> Cheers,
> Dan
> 
> _______________________________________________
> pmwiki-devel mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
> 

_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to