this is javascript question isnt it.. but to end the thread quickly...
just dont put your js in the button.. just print it ..

print "<script>win-=open(...........);win.focus();</script>";

that wiill open a win when the browser parses it.

Jason


Todd Cary <[EMAIL PROTECTED]> wrote: 
> 
> I am using PHP to create a button on a window so that a new window is 
> created when the button is clicked using javaScript.  Is there a way to 
> create a new window inline; that is create a window on top of the 
> current window without having the surfer press a button?
> 
> Here is my current onClick code:
> 
> <input name="btnView" type="button" value="View" 
> onClick="MM_openBrWindow('claim_pdf.php?session_id=1095690357&pdf_file=1000481.pdf','','toolbar=no,status=no,scrollbars=no,resizable=yes')";>
>  
> 
>                </td>
> 
> Todd
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

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

Reply via email to