faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 49 people (35%) answered Yes
Recently 4 of 10 people (40%) answered Yes


how can i print the full window which has a horizontal scroll bar and a part of the page is hidden

Oct 8th, 2003 00:37
christian courtois, Colin Fraser, sandeep dasgupta,

hello, just one basic solution (sorry for my por english) :
you use 
<div id="t1" style="width:100%;overflow:auto;heigth:250px">
 your scrollable part.
to print add button print :
<input id=button onclick=allPrint() type=button name=print value=print>
javascript part 
function allPrint(){
   t1.style.overflow = "visible";
   t1.style.overflow = "auto";