Click to See Complete Forum and Search --> : Can a new window be created using perl?


Mike Burdick
10-26-2005, 03:23 AM
Hi,

I want to dynamically create a new window using perl? The window needs to be smaller in size than the original on the screen. Is this possible? If so, could you post some example code?

Thanks...

Charles
10-26-2005, 05:27 AM
No. All that you can do with Perl is answer questions. What browsers do with those answers is beyond your control.

winged1
10-26-2005, 10:56 AM
You could however have javascript do a http request to a perl script which could then respond with data. It would actually be javascript doing the window thing, but content could come from a variety of sources.

felgall
10-26-2005, 03:53 PM
Of course then there are the 10% of browsers not running Javascript and also all of the ones that are that have popup blockers that will stop the new window appearing anyway.

Scriptage
10-26-2005, 08:05 PM
Then of course there are 90% of web developers who don't give a damn... sometimes a pop up window is needed in an application, like an active x object is needed in another. At the end of the day it is the end user that is missing out by not enabling ther browser to perform to its full potential; of course there is the small matter of security, but if you are running windows with the latest security patches you haven't really got anything to worry about, I haven't had a virus or any malicious code in months (evidently since I switched between a pirate version of windows and a legal one). Bollocks to accessibility; having to view a page in 1024 x 768 in Ie 5.5+ with a certain activeX control, popup blocker turned off and windows security turned off is far cooler than viewing a nicely presented blog written in php, css and xhtml. I'm sick of the differences between browsers, ie, why does mozilla have to render things differently to ie? It always has a few pixels difference so you have to have a javascript that changes the layout depending on the browser... If you want accessibility how about the leading developers at Microsoft, Mozilla and Opera etc get together and produce a standard way of displaying the same code, the same... now thats accessibility

Scriptage
10-27-2005, 03:33 AM
Sorry... drunk... I'm an idiot

kelly23
10-27-2005, 05:05 AM
Funny :p