Is it possible to make a page 'pop up' but not use javascript. I'd like to use Canoo or HTTPUnit to test my pages and don't want to use JavaScript in my pages. Is there a way to pop up some windows w/out using javascript. Dale
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
The basic answer is no. You can request that a browser open a link in a new window using the "target" attribute of the A HREF tag, but you don't have any control over where the window appears, or what size it is etc. The other problem is that it is unxpectedly difficult to unit test multi-browser-window applications using tools like HTTPUnit. May I ask why you want to open another window? Is there anyway you can get similar user benefits using some other method?
The only way to do this is using JavaScript. I feel that your client is falling in to the far-too-common trap of thinking of a Web user interface in the same way as a desktop application GUI. Pop-up windows are horrible to use, horrible to maintain, horrible to test. Show your client some of those awful geocities pages which pop up half a dozen ads for casinos and spy cameras, and try to explain why users have a negative reaction to pop-up windows. Good luck.
Thanks! The sin of this whole thing was that the previous java developer liked them. Personally I've always felt the same way you do. That they are bad news. Regards, Dale DeMott
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)