Kumar,
Add this in the head portion of the web page:
<script language="javascript">
function Clickheretoprint()
{
var disp_setting="toolbar=yes,location=no,directories=yes,menubar=yes,";
disp_setting+="scrollbars=no,width=1000, height=600, left=10, top=10";
var content_value = document.getElementById("print_content").innerHTML;
var docprint=window.open("","",disp_setting);
docprint.document.open();
docprint.document.write('<html><head><title>About Aaron</title>');
docprint.document.write('</head><body align="left" onLoad="self.print()"><center>');
docprint.document.write(content_value);
docprint.document.write('</center></body></html>');
docprint.document.close();
docprint.focus();
}
</script>
Then prechance that area that you want the option to print then
at
<td rowspan=2 id=print_content> BLah blab blah <td>
Add the link to print where you want it:
<a href="javascript:Clickheretoprint()">Print this area</a>
Hope this helps you out
Aaron
> Hello every one,
>
[quoted text clipped - 4 lines]
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com