Re: Java Script or PHP
| From: | zareef ahmed | Date: | Thu, 29 Jul 2004 03:02:57 +0000 |
| Subject: | Re: Java Script or PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192143@lists.php.net to get a copy of this message | ||
--- Karl-Heinz Schulz <karlheinz@khschulz.com> wrote:
> I have a database generated page and I want to show
> a "Print Version" in a
> new window when somebody selects the print option.
>
> http://www.test.com/docs/view_record.php?id=1
>
> http://www.test.com/docs/print_record.php?id=1
>
> What is the "correct" way to open the page from the
> print link to a new
> page?
To Open a New Window you can use javascript
window.open or just set target="_blank" in your anchor
tag (<a>).
But you may need to adjust the properties of new
windows like status bar, toolbar, width, height; for
this you can use java script.
PHP Can not do client side programming...
zareef ahmed
>
> TIA
>
>
>
> Tracking #: BF4D827C022BDF46A46EC4E1BF3527362158E8A1
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail