My browser window is moved by an un-found instruction

F

Fabrice Baro

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=259&ssc=237&a=56874&u=&read_article=1&reset=&second_time=1

in the php: echo "<a href='/article/index.php?g=$g&c=$c&sc=$sc&ssc=
$ssc&a=$main_article_id&u=$u&read_article=1&reset=
$reset&second_time=1'>";
 
T

Thomas 'PointedEars' Lahn

Fabrice said:
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=259&ssc=237&a=56874&u=&read_article=1&reset=&second_time=1

in the php: echo "<a href='/article/index.php?g=$g&c=$c&sc=$sc&ssc=
$ssc&a=$main_article_id&u=$u&read_article=1&reset=
$reset&second_time=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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top