michelleskrede
06-06-2003, 08:43 AM
hi, i am wondering if anyone can help me, i don't know anything about javascript, but i hear that is what i need to do this. i have built a website with frames, a left nav. frame and the right information frame. i would like the right or mainframe, to print. when i asked this question to another forum. this is the answere i got.
<style media="print">
.noPrint { visibility:hidden }
</style>
<form>
<input type="button" onClick="window.print()"
value="print" class="noPrint">
</form>
the problem with this is that the 'print' button shows on the page. i don't want that. all i want it for the users to go to print and it automatically prints the mainframe and not the left frame. here is the site if anyone needs to see what i am talking about. http://my.oh.voyager.net/~cryobio/repro i am really new to this whole website building thing, so if anyone could explain it that would be great. thank you in advance. michelle
<style media="print">
.noPrint { visibility:hidden }
</style>
<form>
<input type="button" onClick="window.print()"
value="print" class="noPrint">
</form>
the problem with this is that the 'print' button shows on the page. i don't want that. all i want it for the users to go to print and it automatically prints the mainframe and not the left frame. here is the site if anyone needs to see what i am talking about. http://my.oh.voyager.net/~cryobio/repro i am really new to this whole website building thing, so if anyone could explain it that would be great. thank you in advance. michelle