none
Printing Problem :- Style.Overflow property in Firefox -- JavaScript

    Question

  • Hi All,

    I have a web application which has two DIV, one is main and one is child. I am having  problem in printing multiple pages. There is a lot of data in the child DIV and i am using JavaScript functions to control the print functionality. When i print using window.print(), only the data on the main page currently being showed is printed. I further researched and checked out the Style.Overflow property.

    Now i am using divMain.style.overflow = "visible"

    After this the complete print comes. But in Firefox, the scroll bar disappears and only single page is left with no scroll bar . 

    Now if after print i give divMain.style.overflow = "Auto" OR divMain.style.overflow = "Scroll", still the scroll bar doesn't come and if it comes then its inactive. I am unable to see the complete data on the page after the print is taken.

    The problem is not coming in I.E and the full data with scroll bar is recovered in I.E.

    Please help me how to get the normal page with full data and scroll bar after printing in Firefox. 

     

    Thanks,

    Manuj

    Monday, September 20, 2010 2:05 PM

Answers

  • Hi,

    You should try asking your question in a more appropriate forum, such as a web development forum. This forum is focused on Windows OS administrative scripting.

    Bill

    Tuesday, September 21, 2010 6:04 PM