My browser window is moved by an un-found instruction

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fabrice Baro

    #1

    My browser window is moved by an un-found instruction

    I'm working with a (complex) site written in php/javascript. A link,
    when clicked, causes a centering of the browser window on the screen.
    I would like to find what causes this moving. I suspect it's a
    javascript command.

    The behavior is slightly different for IE than FF: when the browser
    window is on my second screen, IE is brought back in the center of the
    main screen, whereas FF stays "stuck" on the left of the 2nd screen.

    The link in the generated html:
    /article/index.php?
    g=3331&c=6&sc=2 59&ssc=237&a=56 874&u=&read_art icle=1&reset=&s econd_time=1

    in the php: echo "<a href='/article/index.php?g=$g& c=$c&sc=$sc&ssc =
    $ssc&a=$main_ar ticle_id&u=$u&r ead_article=1&r eset=
    $reset&second_t ime=1'>";
  • Thomas 'PointedEars' Lahn

    #2
    Re: My browser window is moved by an un-found instruction

    Fabrice Baro wrote:
    I'm working with a (complex) site written in php/javascript. A link,
    when clicked, causes a centering of the browser window on the screen.
    I would like to find what causes this moving. I suspect it's a
    javascript command.
    There are no commands, there are statements and expressions.
    [...]
    The link in the generated html:
    /article/index.php?
    g=3331&c=6&sc=2 59&ssc=237&a=56 874&u=&read_art icle=1&reset=&s econd_time=1
    >
    in the php: echo "<a href='/article/index.php?g=$g& c=$c&sc=$sc&ssc =
    $ssc&a=$main_ar ticle_id&u=$u&r ead_article=1&r eset=
    $reset&second_t ime=1'>";
    That doesn't help at all as there is no client-side script code. You have
    the best chance of finding the cause when doing a fulltext search for
    "moveTo", "moveBy", "resizeTo" or "resizeBy" (basic DOM knowledge really).
    Good luck.


    PointedEars
    --
    realism: HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness: XHTML 1.1 as application/xhtml+xml
    -- Bjoern Hoehrmann

    Comment

    • Fabrice Baro

      #3
      Re: My browser window is moved by an un-found instruction

      Hi Bjoern,
      "moveTo", "moveBy", "resizeTo" or "resizeBy"
      Thanks, that's the help I was expecting.
      >(basic DOM knowledge really).
      Mmm, not so much for me, obviously!

      Comment

      • Fabrice Baro

        #4
        Re: My browser window is moved by an un-found instruction

        Hi Bjoern,
        "moveTo", "moveBy", "resizeTo" or "resizeBy"
        Thanks, that's the help I was expecting.
        >(basic DOM knowledge really).
        Mmm, not so much for me, obviously!

        Comment

        Working...