Ah yes, well this is where it gets a little different.  I am aware of many
ways of opening a new window.  But this link os coming from the "Links"
bar of my browser.  Currently I am using JavaScript to grab information
about the page you are currently viewing and then sends you to my script:
javascript:location.href='http://www.breltech.com/MYSCRIPT.cgi?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)

Really what I would like to have happen on top of this is have it all open
in a new window.  And I've been having problems doing that.  I don't mind
if I do this in JavaScript.  I just need to find a way to do it.

Thanks.

--Alex


> I'm sure this will already have been pointed out, by the time this posts,
> but isn't this the equivalent of the following?
>
> (on first web page, square brackets traded for angle brackets, so as not
> to confuse webmail clients.)
>
> [a href="yourscript.cgi" target="_blank"]Start my CGI Script in a new
> window[/a]
>
> I mean, the point is to start the script in a new browser window, without
> forcing the user to leave the current window, right?
>
> If you'd like even more control over the script window that pops up, you
> could open it via JavaScript "window.open" method, specifying width,
> height, border, scroll bars, buttons, etc. You'd just have to specify the
> URI as your CGI script.
>
> Of course, I may have misunderstood your question. I hope this helps.
>
> ---
> Stephen ~runester~ Jarjoura
>
>
> [EMAIL PROTECTED] wrote:
> From: "Alex Brelsfoard"
> Subject: [Boston.pm] Need to open a new window in perl
> Date: Wed, 12 Jan 2005 18:18:01 -0600 (CST)
> To: [email protected]
>
> OK, so here's what I'm trying to do:
> 1. A link sends you to my script.
> 2. My script immediately sends that page back to where it came from.
> 3. My script creates a new window, and continues to do stuff on it.
>
> Make sense?
> I know there's some way to do this with CGI but I'm not at all sure how.
> In fact I'm a bit confused by the directions I read online about it.
>
> Any help would be greatly appreaciated.
> Thank.
>
> --Alex
>
> _______________________________________________
> Boston-pm mailing list
> [email protected]
> http://mail.pm.org/mailman/listinfo/boston-pm
>

 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to