
November 15th, 2001, 10:32 AM
|
 |
Contributing User
|
|
Join Date: Oct 2001
Location: New Zealand
|
|
|
No one replying? Possibly because there's no real documentation
Start by trying:
window.print()
If you're printing a different frame then IE needs to set the focus first:
var isIE = null
if (navigator.appVersion.indexOf("MSIE") != -1) {
isIE = true
}
if (isIE) {
parent.frame.focus()
this.print()
} else {
parent.frame.print()
}
Don't know about any lesser browsers such as NS4 though!
Oh yeah, and before adios berates me once again for saying window.something when the window. isn't needed, I just do things that way okay?!
So you can use print()
instead of window.print()
Last edited by binky : November 15th, 2001 at 10:34 AM.
|