FindWindow like function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Jansen

    FindWindow like function

    Hi,

    I would like to include a 'back to page' link on my website.
    This link should load the target page when it's not currently open and
    set focus to the window if it is.

    in pseudo code

    win = FindWindow("Pro ducts.htm");
    if (win ==0) open("Products. htm");
    else win.focus();

    The page is not in a frame.

    Does anyone have any suggestions?

    Sincerely,

    Thomas
  • Thomas 'PointedEars' Lahn

    #2
    Re: FindWindow like function

    Thomas Jansen wrote:[color=blue]
    > I would like to include a 'back to page' link on my website.
    > This link should load the target page when it's not currently open and
    > set focus to the window if it is. [...]
    > Does anyone have any suggestions?[/color]

    Groups-googling for "window.ope n" will provide plenty of suggestions.


    PointedEars

    Comment

    Working...