Trying to print a Floating Window
Posted: Thu Sep 14, 2006 7:04 am
http://www.dhtmlgoodies.com/index.html? ... ing_window
...using the variation whereby an external html file is called up to populate the window.
<a href="#" onClick="customFunctionCreateWindow('externalfile.html');return false">Create new window dynamically(get data from external file)</a>
... and I'd like to be able to print this mini window.
I tried this piece of javascript included on the external page...
"javascript:window.print();return false"
...but it printed the entire main page with the floating window on it.
Is there a way I can only print the floating window?
thanks
Adrian.