Reply to Re: Convert javascript print-tag to html

Your name:

Reply:


Posted by Jonathan N. Little on 05/12/07 02:16

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

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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