Place marker?

F

Frogleg

How can I keep track of where someone jumps out of page A so that I
can return them there when they use the 'back' button from page B?
Page A has a lot of thumbnail links that use php to generate the B
page. I was testing yesterday, and it's a PITA to have to keep
scrolling down in A.
 
P

Phil

Frogleg said:
How can I keep track of where someone jumps out of page A so that I
can return them there when they use the 'back' button from page B?
Page A has a lot of thumbnail links that use php to generate the B
page. I was testing yesterday, and it's a PITA to have to keep
scrolling down in A.
Isn't that some kind if Indian bread lol
 
R

rf

Frogleg said:
How can I keep track of where someone jumps out of page A so that I
can return them there when they use the 'back' button from page B?
Page A has a lot of thumbnail links that use php to generate the B
page. I was testing yesterday, and it's a PITA to have to keep
scrolling down in A.

URL?

My browser returns to exactly where it was the link was clicked.

Ah, I know, you are not actually going "back", in the sense of the back
button. You have a link on page B that says "back". You are not actually
goin back, you are going "forward" from B to A, so the browser is treating
it as a new page load.

You could put a named anchor at each thumbnail location in A and, in the B
page, go "back" to a.html#thumbnailB.

You could also fiddle with the history but this is not cross browser
dependable.
 
S

Steve Pugh

Frogleg said:
How can I keep track of where someone jumps out of page A so that I
can return them there when they use the 'back' button from page B?
Page A has a lot of thumbnail links that use php to generate the B
page. I was testing yesterday, and it's a PITA to have to keep
scrolling down in A.

I've just tested one of my pages in Mozilla 1.7, Opera 7.5 and IE6 and
they all do this automatically. (Scroll down page, click link, let new
page load, hit back, page scroll positioned exactly where it was
before). So which browser and/or which site are you having a problem
with?

Steve
 
F

Frogleg

Ah, I know, you are not actually going "back", in the sense of the back
button. You have a link on page B that says "back". You are not actually
goin back, you are going "forward" from B to A, so the browser is treating
it as a new page load.

You got it. :)
You could put a named anchor at each thumbnail location in A and, in the B
page, go "back" to a.html#thumbnailB.

That's actually what I did -- not each thumbnail, but a sort of
mid-page location -- said:
You could also fiddle with the history but this is not cross browser
dependable.

This was more of less what I was wondering about. If it's going to be
a hassle, I'll settle for my mid-page correction.

Thanks.
 
S

Sam Hughes

How can I keep track of where someone jumps out of page A so that I
can return them there when they use the 'back' button from page B?
Page A has a lot of thumbnail links that use php to generate the B
page. I was testing yesterday, and it's a PITA to have to keep
scrolling down in A.

Browsers already do this on their own.
 

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
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top