Jump to content

Help needed with code to hold marker for back buttion


CodeCruncher

Recommended Posts

Hi all I'm new to to forum and to PHP. I have a small site written in PHP I'm getting a lot of complaints from my users that when they use the back button on there browser that it doesn't take them to the same spot on the page. It takes them back to the top of the page then they have to scroll down and find where they where at.

 

How do I solve this issue is there some code to hold a marker or tag? or would this even be handled with PHP

Because I have multiple pages. My users are not Internet savvy so I need to make things as easy for them as possible. So if they like using the back button then I need to make it work for them. Besides that I use the back button all the time and i get angry when a site I'm on will do the same thing. It is very frustrating trying to find the spot you where at after going back.

 

So can anyone help me with this issue??

 

 

Thanks for any help ;D

Aren't users wonderful?

 

Do you use refresh code, a no-cache pragma, or anything else that might reload the page every time it's visited?

 

 

The only thing I can think of that would reload the page are the ad's

EDIT-----------------------------------------------------------------------------------

 

I noticed that on this site when I hit the back button I go back to the very same spot how is that handled?

Do they report what browser they're using?  (Probably not.)

 

If you're not doing anything out of the ordinary to reload the page (and it might be the ad code), then the problem is their browser, and they'll need to find one that works the way they expect it to.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.