I need your help to make a printer friendly page with java?? Thanks
I need your help to make a printer friendly page with java?? Thanks
What do you mean?
cr3ative
A retired member, drop me a line through my site if you'd like to find me!
cr3ative media | read the stickies
I want that the visitors of my homepage to have a printer friendly version.
Javascript can't really do that. You could just hyperlink to a printer-friendly page like ebuyer.com or dabs.com do on their product pages; these are just separate html files which are a little more sparse on layout.
cr3ative
A retired member, drop me a line through my site if you'd like to find me!
cr3ative media | read the stickies
well, there is a way, but it would be a whole lot Ez'r if you just made a separate HTML or a TEXT file, other wise you have to do a lot, i mean a lot, of document.write, you would have to write your page twice in it, once is hard, but twice! that would take forever! lol
I use CGI for mine, its a lot less writing, but its kinda hard to program if you don't know what you are doing
Ditto.
document.write 'ing would be a heck of a project for each webpage and every tiny change you make, whereas CGI or similar programming would just pretty much do itself once set up.
cr3ative
A retired member, drop me a line through my site if you'd like to find me!
cr3ative media | read the stickies
Originally Posted by malsyriani@yahoo.com
You may convert whole page, that your need in image format. Your users can print it on any operating system. It's great way for compatibility your pages.
I use Universal Document Converter for converting.
:/ That's a bit of a kick in the shins for dialup users though...
I still pity them, I only got broadband a year or so ago.
cr3ative
A retired member, drop me a line through my site if you'd like to find me!
cr3ative media | read the stickies
Web page in GIF format, not so big. And if I understood correctly, users need to see not all pages.. but few of it? when it's good solution
you are just not thinking simple enough. i did it with just a singe css file extra. define in the header the following (ofcourse, change it where needed):Create a button (or link) with the following code:Code:<LINK REL=StyleSheet HREF="./style/style.css" TYPE="text/css" MEDIA=screen> <LINK REL=StyleSheet HREF="./style/print.css" TYPE="text/css" MEDIA=print>that's it. check www.decomputeur.nl and then the FAQ. click on any link on the right side and then the print-button to see it in action. Below is my normal .css fileCode:<input type="button" name="Print" value="Print" onclick="javascript:window.print(); ">and this is my print.css file:Code:body { background-color: #00ff99; background-image: none; font-family: arial, verdana, 'sans serif'; } a:link { } a:visited { } img { border: 0px; }Code:body { background-color: White; background-image: none; font-family: arial, verdana, 'sans serif'; } a:link { color: black; } a:visited { color: black; } img { border: 0px; }
Bookmarks