Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > My browser window is moved by an un-found instruction

Reply
Thread Tools

My browser window is moved by an un-found instruction

 
 
Fabrice Baro
Guest
Posts: n/a
 
      02-26-2008
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'>";
 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      02-27-2008
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=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
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
 
Reply With Quote
 
 
 
 
Fabrice Baro
Guest
Posts: n/a
 
      02-27-2008
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!
 
Reply With Quote
 
Fabrice Baro
Guest
Posts: n/a
 
      02-27-2008
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!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What moron moved the browser detection article?! David Mark Javascript 7 05-12-2010 06:22 AM
repaint() slow when offscreen window is moved back onscreen Erick Crouse Java 0 03-27-2008 04:15 PM
Can you detect when a browser slide bar is moved? Matt MC HTML 13 02-22-2005 10:31 AM
Can you detect when a browser slide bar is moved? Matt MC Javascript 13 02-22-2005 10:31 AM
.close not working when window is being moved Christine Javascript 1 02-19-2004 01:32 PM



Advertisments