PDA

View Full Version : Create a 'print' button with Javascript e.g. for window.open() without toolbars


timetunnel
07 Nov 2005, 00:32
Hello.

Here is a misc routine to create a convenient 'print' button on a page where there is none in the browser window due to the attributes assigned in e.g. 'window.open()'. When Javascript is not enabled, the browser toolbars are automatically visible so this print routine would be ignored.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Have fun!