Jumping in a frame using Javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • c.anandkumar@gmail.com

    #16
    Re: Jumping in a frame using Javascript

    I guess the script that moves the content in the bottomframe must be
    called from the parent page which has this frame object. And the anchor
    text now should be the relative path of the "tables" page followed by
    the anchor.

    Comment

    • compassSoftware@gmail.com

      #17
      Re: Jumping in a frame using Javascript

      c.anandkumar@gm ail.com wrote:[color=blue]
      > I guess the script that moves the content in the bottomframe must be
      > called from the parent page which has this frame object. And the[/color]
      anchor[color=blue]
      > text now should be the relative path of the "tables" page followed by
      > the anchor.[/color]

      The script actually is called with the onload event in the body. There
      is a timer that compares two variables. One variable is changed by the
      sibling frame. If the two variables are not equal then the row is
      highlighted.

      So it is all happening in the one page but you are right. I need to
      reference the table. If the anchor is in the table it can't be found.

      How can I refernce the table in my script?

      Here is the code where I reference the anchor:
      eval ("document.loca tion='#row" + n + "'");

      PS. Thanks for the tip on quoting! Pardon my lack of Usenet netiquette.

      Everybody should try google groups beta. (Emphasis on beta) It is a
      much improved product. I used Usenet a few years ago when I first found
      the net. I would never go back to using it now.

      Comment

      • Evertjan.

        #18
        Re: Jumping in a frame using Javascript

        Dr John Stockton wrote on 08 mrt 2005 in comp.lang.javas cript:[color=blue]
        > JRS: In article <Xns961369310FD 00eejj99@194.10 9.133.29>, dated Tue, 8
        > Mar 2005 09:20:23, seen in news:comp.lang. javascript, Evertjan.
        > <exjxw.hannivoo rt@interxnl.net > posted :[color=green]
        >> wrote on 08 mrt 2005 in comp.lang.javas cript:
        >>[color=darkred]
        >>> I[/color][/color]
        >[color=green]
        >>[please ALWAYS quote. Usenet is not email, and others want to read too][/color]
        >
        > I see no point in telling Googlers what to do without telling them how
        > to do it; be constructive, not just critical.[/color]

        I do see a point, John:

        I am being critical, so you can be constructive.

        ;-}

        --
        Evertjan.
        The Netherlands.
        (Replace all crosses with dots in my emailaddress)

        Comment

        Working...