You are here: Re: supress Printing 'print' link « HTML « IT news, forums, messages
Re: supress Printing 'print' link

Posted by David Dorward on 08/03/07 15:40

On Aug 3, 2:26 pm, Bob <Go1...@Yahoo.Com> wrote:

> I havea link with a href of javascript:window.print()
> it works fine except that it prints the 'Print' link itself......

And except that it doesn't work when JavaScript isn't available and is
a dead link instead.

And except that it produces a new and unexpected UI control for
something that the typical browser already presents the user with
several ways of doing (File > Print, Ctrl+P, a print button in a
toolbar, etc).

It is pointless. It doesn't allow users to do anything they couldn't
do before, breaks in some cases, and wastes screen space and
bandwidth.

> anybody know how I can supress printing the link?

Best way - get rid of it. Otherwise set up a print media stylesheet.

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

 

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

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