471,089 Members | 1,140 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

After reload, a problem.

Hi all,

I have a PHP page that I am reloading using Javascript.
The reload happens just fine, but Firefox repositions
the part of the page that the user is viewing to back
down where the link was that they clicked that caused
the reload. Thus, after the reload, the scroll bar jumps
down to show the area where the link was.

Is there any way to prevent that?

Thanks.

Jan 19 '07 #1
1 1113
ASM
Flarky a écrit :
Hi all,

I have a PHP page that I am reloading using Javascript.
The reload happens just fine, but Firefox repositions
the part of the page that the user is viewing to back
down where the link was that they clicked that caused
the reload. Thus, after the reload, the scroll bar jumps
down to show the area where the link was.

Is there any way to prevent that?
<body id="pizza" onload="location='#pizza';">

perhaps ?

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Jan 19 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Marshall Dudley | last post: by
4 posts views Thread by Alexander Widera | last post: by
10 posts views Thread by Robert | last post: by
1 post views Thread by Christian Sengstock | last post: by
7 posts views Thread by Matthew White | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.