You are here: Re: Convert javascript print-tag to html « HTML « IT news, forums, messages
Re: Convert javascript print-tag to html

Posted by Timmermans on 05/12/07 06:00

"Jonathan N. Little" <lws4art@centralva.net> wrote in message
news:8fac2$46452398$40cba7bc$22992@NAXS.COM...
> Timmermans wrote:
>> Hi,
>>
>> In an attempt to get rid of all javascript on my page, I was looking for
>> the html/css/whatever equivalent of the following javascript tag;
>>
>> <a href="javascript:window.print();">
>
> There isn't one, it call the "print" button on the browser.
>
>>
>> I'm using css media="print", so all I need is the trigger to start
>> printing.
>
> That just defines that styling to be used when printing. CSS cannot
> trigger anything, except the pseudo "triggers" dynamic pseudo-classes:
> :hover, :active, and :focus

Jonathan,

Rather dissapointed to learn there is no alternative for something so
common.

I guess I can't win them all ;-)

Thanks.

Regards,
Steven

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация