Page Focus

Setting Page Focus

Page 1 of 1

1 Replies - 4476 Views - Last Post: 31 January 2005 - 11:52 AM

#1 skd10066  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 31-January 05

Page Focus

Posted 31 January 2005 - 11:27 AM

I need some help with setting page focus.

I have a page of links. Someone clicks on Link A which opens new window. They minimize Link A page to redisplay my link page and click on Link B. At this point I want Link A window to reopen on top with Link B page displayed.

If I own Link A and B pages I can accomplish by placing this java snippet in <head> section of Link A and B pages...

<script LANGUAGE="Javascript">
<!-- Begin
// End -->

How do I accomplish this if I do not own the pages that I want to link to?

I would appreciate any assistance

Is This A Good Question/Topic? 0
  • +

Replies To: Page Focus

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 250
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: Page Focus

Posted 31 January 2005 - 11:52 AM

Just to ensure I have the situation correct:

You own Page 1. It is a page of links. When a user clicks on a link, you open page2. If a user were to click on another link from page 1, you want page 2 to display that data, is that correct?

If so, you'll need a function at the top of page 1 that keeps a reference to the window opened by the first click. when another link from page 1 is clicked, you'll set the url location of page 2 to the new link. It's not a problem if page 2 is not yours, because window 2 is.

Click here fo a good article. you'll be especially interested in the section entitled 'Maintaining a Handle'.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1