> but I gather from your reply that the browser issues the new (printer)
> page without reference to the server.
> Is this what actually happens?
Yes, this is what actually happens for the browser "print" button.
You could do something like a "Printer Friendly" button to generate a PDF on
A couple of sites about making CSS print stylesheets.
http://www.alistapart.com/articles/goingtoprint/
http://www.webdesignschoolreview.com/css-printing.html
I'd send you links to more, but my Internet connection is shaped, and
it's too slow to look through many more.
Michael Kubler
*G*rey *P
On Wed, 03 Dec 2008 08:15:14 +, [EMAIL PROTECTED] (Ashley
Sheridan) wrote:
>Go with what Yeti said. The browser will automatically pick the right
>stylesheet when the user presses the print button or you issue a
>window.print() from Javascript. Whatever you do, don't have a separate
>page for
On Wed, 2008-12-03 at 08:00 +0100, Maciek Sokolewicz wrote:
> Clancy wrote:
> > Oh?
> >
> > Unfortunately I have had great difficulty trying to find out how
> > things really work, as all the books I have seen are recipe books,
> > which tell you how to achieve particular results, but not what is
> I have enough trouble getting my rather ancient brain around PHP, and
> was hoping that I could avoid getting involved with JavaScript.
> However it seems that it, or CSS, are the only possibilities for this
> case.
If I understood you correctly what you want is to change the style of
the page w
On Wed, 3 Dec 2008 15:28:17 +1300, [EMAIL PROTECTED] ("German Geek")
wrote:
>You can do things on the client side with Javascript ;) Sorry, what was the
>result you are after?
I have enough trouble getting my rather ancient brain around PHP, and
was hoping that I could avoid getting involved with
Clancy wrote:
Oh?
Unfortunately I have had great difficulty trying to find out how
things really work, as all the books I have seen are recipe books,
which tell you how to achieve particular results, but not what is
going on behind the scenes. I had assumed that when you hit the
'print' button
You can do things on the client side with Javascript ;) Sorry, what was the
result you are after?
On Wed, Dec 3, 2008 at 3:22 PM, Clancy <[EMAIL PROTECTED]> wrote:
> Oh?
>
> Unfortunately I have had great difficulty trying to find out how
> things really work, as all the books I have seen are rec
Oh?
Unfortunately I have had great difficulty trying to find out how
things really work, as all the books I have seen are recipe books,
which tell you how to achieve particular results, but not what is
going on behind the scenes. I had assumed that when you hit the
'print' button the browser sen
I think you just want to have a CSS sheet for print media and be done with it.
You could, in theory, add some kind of listener with JS, that would detect the
'media' attribute and then Ajax back to the server to do something, but that's
an awful Rube Goldberg compared to just one more tag wit
PHP is a server side language...
On Wed, Dec 3, 2008 at 2:16 PM, Clancy <[EMAIL PROTECTED]> wrote:
> Is it possible to access the 'media' attribute from php, so (for
> example) you can tailor a page for printing?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: h
11 matches
Mail list logo