Click to See Complete Forum and Search --> : This should be an easy one for you guys...
albakes
06-27-2003, 01:49 AM
I really hope you can help me with this. What I am looking to do should be very easy. I need a CGI/Perl script that when called will open a window of a specific size without the address bar or menu bar. I know this can be done with javascript (and without js by using a target), but I cannot use javascript and I dont want to use a target because I really need the window a certain size and without the address bar. So any thoughts?
Thanks so much and thanks for the great site!
Alvin
jeffmott
06-27-2003, 08:24 AM
Yeah, use JavaScript. ;)
Really though, this is something CGI cannot do because it executes at the server. You need client-side code, and JavaScript is the best choice for that. And, JavaScript will do everything you're looking to do without much trouble. Direct your question to the JavaScript forum and it shouldn't take long to get the answer you need.
albakes
06-27-2003, 12:20 PM
Ok, to clarify. I already know how to do this with javascript. I have a link that when clicked on will take somone to another one of my webpages. There isn't a way to link right to a .cgi file and when executed it opens a window of a specific size and without the address bar?
jeffmott
06-27-2003, 02:15 PM
Opening a new window, resizing it, and removing the address bar are all things that must be done client-side, and CGI executes server-side. So you must use a client-side language. There is no way around that.
albakes
06-27-2003, 10:13 PM
Ok Jeff. Thanks for your help on this. Just curios though. Will anything else work besides js? Basically is there any other client side scripting languages that can perform this? Thanks again.
jeffmott
06-27-2003, 11:52 PM
There are many other scripting languages. VB Script, ActiveX Scripting, Tcl, PerlScript. However, JavaScript has the best support across all browsers and is your best choice. You say you already can do this in JavaScript. Why are you looking for something else?
albakes
06-28-2003, 02:28 PM
I have done this with js before, but for what I am doing now, I cannot use javascript. I will read up on the other scripting languages you mentioned. Thanks.