Re: new window on redirect

From: Jan Eden (lists_at_janeden.org)
Date: 07/13/04


Date: Tue, 13 Jul 2004 19:11:28 +0200
To: Tim McGeary <tmm8@Lehigh.EDU>, Perl Lists <beginners@perl.org>

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

-- 
Hanlon's Razor: Never attribute to malice that which can be adequately explained by stupidity.


Relevant Pages

  • Re: OWA 2007 Custom NAV Bar button
    ... If I wanted to modify this so that the target opened in the same window, ... Does anyone have some sample code that could point me in the right ...
    (microsoft.public.exchange.development)
  • Re: CWinThread and Memory Leaks.
    ... When the target is a window created by ... enter the receptive state on a regular, timely basis, because outside this ... and this allows interthread SendMessage to work. ...
    (microsoft.public.vc.mfc)
  • Re: boot problem
    ... in the center window), ... Assuming you have been able to run Target Analyzer, ... particularly 'Step 3 Create a New Configuration': ... > the installed the compact flash into the target system (it has a bootable ...
    (microsoft.public.windowsxp.embedded)
  • Re: how do i setup hyperlinks in publisher 2003 to open in a new w
    ... Q. How do I make my hyperlink open the URL in a new browser window? ... Publisher does not have any support for this. ... to code a target when linking within Publisher. ... > No you don't want to use javascript, you need to use a html link with the ...
    (microsoft.public.publisher.webdesign)
  • Re: keyboard event
    ... >> edit control residing on the parent window). ... you can walk it to get to the hWnd of the target window. ... >ok thanks Bryan ...
    (microsoft.public.vb.winapi)