Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: How can I print a scrolling Div in Both IE5 & Netscape 4x?


Message #1 by "Kathleen Whalen" <kathleen.m.whalen@c...> on Tue, 17 Apr 2001 13:57:56
I have a page that uses the DIV tag and I also noticed that the entire 
content contained within this tag does not print.  I've never used 
the "innerHTML" property before.  Can anyone give me some advice?  Would I 
need to open the text to a new page to get it to print?

Thanks,
KMW
==========================================================================

> I have a web page devised of frames, within the main content frame some 
of 
> the pages have DIVS, some of which have javascript that enables them to 
> scroll independently of the frame.
> 
> -However when a user prints the frame from their browser they do not see 
> all of the information contained within the scrolling DIV.
> 
> -I've realised that in IE5 i can use the innerHTML property to extract 
the 
> contents of the DIV to another browser window and then print this.
> 
> HOWEVER I cannot find any way to do this in NETSCAPE 4x, is there any 
> similar property that I havn't stumbled across. Or even any suggestions 
on 
> alternative ways to solve my problems?
> 
> regards
> 

  Return to Index