Hello I have some code that creates a new window. The new window passes some value to a servlet and the servlet populates that window with a jsp. I need the jsp to be in a scrollable window. I create the new window with this code. var newWindow function makeNewWindow() { newWindow = window.open("splitCharge.html", "newWindow", "height=500,width=775, scrollbars=yes") newWindow.focus() }
It scrolls in IE but not in Netscape. Can someone tell me what I did wrong? Ty
Al - We generally take posts such as yours as a form of hijacking. Please do not interrupt a thread with a "look what I can do" link unless it's directly relevant to the topic at hand.
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
Rich, Try rearranging the order of the parameters to the window.open() method (i.e. put scrollbars=yes or scrollbars=true before height and width). Im not sure if itll work but Netscape is much more particular than IE as you may have noticed. Rob
Netscape rarely needs any logical reason to exhibit completely non-deterministic behavior. I have the scars to prove it. In this case, I'd also leave out the space character before or after commas in the properties string. Yes, I think it's that picky. hth, bear