After reload, a problem.

F

Flarky

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.
 
A

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 ?
 

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

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,743
Latest member
WoodrowMea

Latest Threads

Top