Re: new window on redirect

From: Tim McGeary (tmm8_at_Lehigh.EDU)
Date: 07/13/04


Date: Tue, 13 Jul 2004 13:20:56 -0400
To: Perl Lists <beginners@perl.org>


Jan Eden wrote:
> Tim McGeary wrote on 13.07.2004:
>
>
>>Wiggins d Anconia wrote: <snip>
>>
>>>>>Sort of. What I don't understand is why do you have to decide on
>>>>>the server side, post-request that the result will be in a new
>>>>>window? Couldn't the original "portal" page just use targets like
>>>>>normal?
>>>>
>>>>It's a database driven site and so, unfortunately, it is all
>>>>server side, at least for this purpose. So are you telling me
>>>>there's no real way in perl to do this?
>>>
>>>Right, but again, assuming the page they are linking from is driven
>>>then set the target at the time of the original display rather than
>>>during the link through? Aka the user goes to the site, is
>>>presented a list of links that are from search results, I am
>>>assuming they will click one of those links to see a detail
>>>listing, seeing that detailed listing in a new window is what you
>>>are after? Rather than trying to set the new window after the
>>>click, you set it when the list is presented originally. Perl isn't
>>>really involved in this because it is running on the server side,
>>>other than you will need to modify how your original result page
>>>(the one they click on) is displayed.
>>
>>That won't work (just tried it). I cannot set a target in the DB.
>>
>
>
> Sorry, if I do not get you right, but... can't your script provide a link list like this:
>
> <ul>
> <li>Item 1234</li>
> <li>Item 1235</li>
> <li>Item 1236</li>
> <li>Item 1237</li>
> </ul>
>
> This is what Wiggins meant when writing "modify your original results page" (as far as I understand him). It has nothing to do with the database nor with Perl. But it works, opening a new window when the user clicks on a link.
>
> - Jan

Actually, I later realized this and indeed am looking into that
possibility. :) I guess I should have responded as such. Thank you
for the reminder.

Tim

Tim McGeary
Senior Library Systems Specialist
Lehigh University
610-758-4998
tim.mcgeary@lehigh.edu



Relevant Pages

  • Re: readdir formulated badly? gives wrong count
    ... Sometimes there might be some numbered files already in the target ... I'll probably try to turn the perl script into something more general ... You are doing boolean tests on the contents of array elements when you ... sub usage { ...
    (perl.beginners)
  • Re: .old files being created by root
    ... The external program running on another server but connected to the overall system network apparently picks them up with an ftp program. ... the other end must be running a script (not a human logging in ... She should be in the target directory or some directory ... you never said if this is an SCO UNIX OS or Linux or some other UNIX. ...
    (comp.unix.sco.misc)
  • Re: kbuild make deb patch
    ... > target in any way. ... +# Simple script to generate a deb package for a Linux kernel. ... +# package install and removal. ... +cat <<EOF> debian/changelog ...
    (Linux-Kernel)
  • Re: readdir formulated badly? gives wrong count
    ... Sometimes there might be some numbered files already in the target ... I'll probably try to turn the perl script into something more general ... work is done I attempt to report 2 things. ... NOTE: SOURCEFILE is likely to have been compiled like this: ...
    (perl.beginners)
  • Re: Slightly more complex Copy script - a challenge perhaps?
    ... I'll start digging through this script ... have a new folder created within ... where the SOURCE is newer than the TARGET. ... Call DisplaySourceFileInformation ...
    (microsoft.public.scripting.vbscript)