Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Printer friendly webpage?

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
bronee Posted - 10 Jun 2013 : 21:13:08
How do I most easy create a printer friendly webpage in dynamic html editor?

/Bronée
4   L A T E S T    R E P L I E S    (Newest First)
Jan van Londen Posted - 03 Jul 2013 : 15:07:22
What about a PDF-file that the visitor can download to print?
A PDF-file can easily be made with something like PDF-creator.

( http://sourceforge.net/projects/pdfcreator/ )
bronee Posted - 02 Jul 2013 : 17:29:00
Check it here: http://larsbronee.dk/gastronomi.htm
bronee Posted - 02 Jul 2013 : 17:27:28
Or this way. I did put this in HEAD:

<script language="javascript">
function Clickheretoprint(divname, titel)
{
var disp_setting="toolbar=yes,location=no,directories=yes,menubar=yes,";
disp_setting+="scrollbars=yes,width=650, height=600, left=100,top=25";
var content_vlue = document.getElementById(divname).innerHTML;
var docprint=window.open("","",disp_setting);
docprint.document.open();
docprint.document.write('<html><head><title>'+titel+'</title><style>');
docprint.document.write ('a.printlink {display: none;}');
docprint.document.write('</style></head><body onLoad="self.print()">');
docprint.document.write(content_vlue);
docprint.document.write('</body></html>');
docprint.document.close();
docprint.focus();
}
</script>
<style type="text/css">
a.printlink {float: right; display: block; margin-top: 30px;}
</style>

And just made HTML like this:

<ul id="menu">
<li><a class="printlink" href="javascript:void(0)" onClick="Clickheretoprint('ldheLabel3', 'Print vindue') ", >PRINT OPSKRIFT</a></li>
</ul>

Best regards, Lars
s.dav Posted - 12 Jun 2013 : 08:33:06
I think the better approach is to keep the page simple

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000