Re: Convert javascript print-tag to html




"Sherm Pendley" <spamtrap@xxxxxxxxxxx> wrote in message
news:m2r6pmlr7r.fsf@xxxxxxxxxxxxxxxxxxx
"Timmermans" <steventimmermans@xxxxxxxxxxx> writes:

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();">

I'm using css media="print", so all I need is the trigger to start
printing.

Why do you think you need that? Do you seriously believe the user is too
stupid to use the same "File/Print" menu item that works the same way on
every web page he or she visits?

No. But I myself for example, I use full screen and have dissabled many of
the buttons including print. ctrl+p is the way I call it myself, but not
everyone knows their keyboard shortcuts either. I consider it a sort of
added value, no matter how little.

Do you think the user is patient enough to try to figure out what icon you
use and where you've placed your on-page print link, when the standard
menu
item is the same place it's always been, and works just as well as it
always
has?

Yes.

Because my page is to wide to be printed on a standard A4, hence the CSS
tweak, resizing is not an option! 700 pages and the print icon is very
visible and always on the exact same spot. Who are you to judge it's
excessive and that it can't be used alongside the standard menu button? A
minimalistic approach is not what I'm looking for.

btw, your 'select a style' feature on camelbones doesn't work
crossbrowser... now that's something the users don't need!

All a matter of what you want and how you want it.

Regards,
Steven


sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


.



Relevant Pages

  • Re: tablles vs css
    ... Should I now be using CSS and DIVS and layers instead of tables to do ... my layouts? ... First, it is the langua franca, the current standard, these days. ... web developer you should be able to do style sheets in addition to ...
    (comp.infosystems.www.authoring.html)
  • Re: Speech processors...
    ... text editor and a standard browser to check it. ... CSS has been about for a few years now, ... No third-party code and no third-party hosted scripts. ... Nothing wrong with using resources, ...
    (rec.radio.cb)
  • Re: COBOL FAQ *moved*
    ... You are right about the CSS capabilities, and the Zen garden site is superb. ... I checked all the designs with both Firefox and IE and saw no detectable ... > HTML and related technologies are standardized by ... If you care about standard ...
    (comp.lang.cobol)
  • Re: tablles vs css
    ... Should I now be using CSS and DIVS and layers instead of tables to do ... First, it is the langua franca, the current standard, these days. ... web developer you should be able to do style sheets in addition to ... This would, of course, be supported by stylesheets. ...
    (comp.infosystems.www.authoring.html)
  • Re: Print Out Reports
    ... >>problem for an order form. ... >Format HTML with CSS and the scales will fall from your eyes!! ... Who how to get it all onto one sheet no matter how much data ...
    (alt.php)